# FlutterMethodCall

Objective-C

    @interface FlutterMethodCall : NSObject

Swift

    class FlutterMethodCall : NSObject

Command object representing a method call on a `FlutterMethodChannel`.

- `+methodCallWithMethodName:arguments:`

  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;

  Swift

      convenience init(methodName method: String, arguments: Any?)

  #### Parameters

  `method` | the name of the method to call.
  `arguments` | the arguments value.

- `method`

  The method name.

  #### Declaration

  Objective-C

      @property (nonatomic, readonly) NSString *_Nonnull method;

  Swift

      var method: String { get }

- `arguments`

  The arguments.

  #### Declaration

  Objective-C

      @property (nonatomic, readonly, nullable) id arguments;

  Swift

      var arguments: Any? { get }

© 2023 Flutter. All rights reserved. (Last updated: 2023-05-08)

Generated by jazzy ♪♫ v0.14.3, a Realm project.