invokeMethod<T> method
Invoke a platform method and return a typed result.
Implementation
Future<T?> invokeMethod<T>(String method, [Map<String, dynamic>? arguments]) {
throw UnimplementedError('invokeMethod() has not been implemented.');
}