invokeMethod method

Future<Object?> invokeMethod(
  1. String method,
  2. Object args
)

Implementation

Future<Object?> invokeMethod(String method, Object args) async {
  MethodCall call = MethodCall(method: method, args: args);
  return await send(call);
}