mop-flutter-sdk/ios/Classes/MopPlugin.h

17 lines
558 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;
@property FlutterMethodChannel *phizMethodChannel;
+ (instancetype) instance;
@end