invokeMethod<T, P> static method

Future<T?> invokeMethod<T, P>(
  1. String methodName, [
  2. dynamic param
])

Implementation

static Future<T?> invokeMethod<T, P>(String methodName,
    [dynamic param]) async {
  await initialize();

  return _channel.invokeMethod<T>(
    methodName,
    param,
  );
}