invokeMethod<T> method

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

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.');
}