// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/foundation.dart'; import 'package:flutter/services.dart'; import 'my_plugin_platform_interface.dart'; class MethodChannelMyPlugin extends MyPluginPlatform { @visibleForTesting final methodChannel = const MethodChannel('my_plugin'); @override Future getLifecycleEvents() async { return methodChannel.invokeMethod('getLifecycleEvents'); } }