Commit accabe65 authored by Jidong Chen's avatar Jidong Chen

delete unnecessary argument.

parent 23efb635
...@@ -41,8 +41,7 @@ ...@@ -41,8 +41,7 @@
#pragma mark - broadcast event to/from flutter #pragma mark - broadcast event to/from flutter
- (void)sendEvent:(NSString *)eventName - (void)sendEvent:(NSString *)eventName
arguments:(NSDictionary *)arguments arguments:(NSDictionary *)arguments;
result:(FlutterResult)result;
- (FLBVoidCallback)addEventListener:(FLBEventListener)listner - (FLBVoidCallback)addEventListener:(FLBEventListener)listner
forName:(NSString *)name; forName:(NSString *)name;
......
...@@ -179,11 +179,9 @@ ...@@ -179,11 +179,9 @@
#pragma mark - broadcast event to/from flutter #pragma mark - broadcast event to/from flutter
- (void)sendEvent:(NSString *)eventName - (void)sendEvent:(NSString *)eventName
arguments:(NSDictionary *)arguments arguments:(NSDictionary *)arguments
result:(FlutterResult)result
{ {
[_broadcastor sendEvent:eventName [_broadcastor sendEvent:eventName
arguments:arguments arguments:arguments];
result:result];
} }
- (FLBVoidCallback)addEventListener:(FLBEventListener)listner - (FLBVoidCallback)addEventListener:(FLBEventListener)listner
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment