#import <FlutterCodecs.h>
Command object representing a method call on a FlutterMethodChannel
.
Definition at line 220 of file FlutterCodecs.h.
◆ hash
Definition at line 73 of file FlutterChannels.mm.
231 {
232 return [self.method hash] ^ [self.arguments hash];
233}
◆ initWithMethodName:arguments:
- (instancetype) initWithMethodName: |
|
(NSString*) |
method |
arguments: |
|
(id) |
arguments |
|
|
| |
|
implementation |
Definition at line 73 of file FlutterChannels.mm.
211 NSAssert(
method,
@"Method name cannot be nil");
212 self = [super init];
213 NSAssert(self, @"Super init cannot be nil");
214 _method = [method copy];
216 return self;
217}
◆ isEqual:
Definition at line 73 of file FlutterChannels.mm.
220 if (self == object) {
221 return YES;
222 }
224 return NO;
225 }
227 return [
self.method isEqual:[other
method]] &&
229}
◆ methodCallWithMethodName:arguments: [1/2]
+ (instancetype) methodCallWithMethodName: |
|
(NSString*) |
method |
arguments: |
|
(id) |
arguments |
|
|
| |
|
implementation |
◆ methodCallWithMethodName:arguments: [2/2]
+ (instancetype) methodCallWithMethodName: |
|
(NSString *) |
method |
arguments: |
|
(id _Nullable) |
arguments |
|
|
| |
Creates a method call for invoking the specified named method with the specified arguments.
- Parameters
-
method | the name of the method to call. |
arguments | the arguments value. |
◆ arguments
◆ method
The documentation for this class was generated from the following files: