16 lines
507 B
Dart
16 lines
507 B
Dart
#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;
|
|
@property FlutterMethodChannel *methodChannel;
|
|
@property FlutterMethodChannel *shareMethodChannel;
|
|
@property FlutterMethodChannel *shareAppletMethodChannel;
|
|
@property FlutterMethodChannel *appletMethodChannel;
|
|
|
|
+ (instancetype) instance;
|
|
@end
|