FlutterMethodCall
@interface FlutterMethodCall : NSObject
Command object representing a method call on a FlutterMethodChannel.
-
Creates a method call for invoking the specified named method with the specified arguments.
Declaration
Objective-C
+ (nonnull instancetype)methodCallWithMethodName:(nonnull NSString *)method arguments:(id _Nullable)arguments;Parameters
methodthe name of the method to call.
argumentsthe arguments value.
-
The method name.
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull method; -
The arguments.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) id arguments;
View on GitHub
Install in Dash
FlutterMethodCall Class Reference