invokeMethod<T> method

  1. @override
Future<T?> invokeMethod<T>(
  1. String method, [
  2. dynamic arguments,
  3. PlatformNotification? notification
])
override

Invokes a native platform method with optional notification wrapping.

Implementation

@override
Future<T?> invokeMethod<T>(
  String method, [
  dynamic arguments,
  PlatformNotification? notification,
]) {
  return _channel.invokeMethod<T>(
    method,
    _platformArguments(arguments, notification),
  );
}