2020-02-27 17:21:45 +08:00
|
|
|
#import <Flutter/Flutter.h>
|
|
|
|
|
|
|
|
@interface MopEventStream : NSObject <FlutterStreamHandler>
|
|
|
|
- (void)send:(NSString *)channel event:(NSString *)event body:(id)body;
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface MopPlugin : NSObject <FlutterPlugin>
|
|
|
|
@property MopEventStream *mopEventStreamHandler;
|
2020-04-26 14:57:08 +08:00
|
|
|
@property FlutterMethodChannel *methodChannel;
|
2020-12-12 15:53:11 +08:00
|
|
|
@property FlutterMethodChannel *shareMethodChannel;
|
2020-02-27 17:21:45 +08:00
|
|
|
|
2020-04-26 14:57:08 +08:00
|
|
|
+ (instancetype) instance;
|
2020-02-27 17:21:45 +08:00
|
|
|
@end
|