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