invokeMethod method

  1. @override
Future invokeMethod(
  1. String method, [
  2. Map<String, dynamic>? arguments
])
override

Generic method to invoke platform-specific functionality

Implementation

@override
Future<dynamic> invokeMethod(String method, [Map<String, dynamic>? arguments]) async {
  return await methodChannel.invokeMethod(method, arguments);
}