| #import "EspressoPlugin.h" |
| |
| @implementation EspressoPlugin |
| + (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar { |
| FlutterMethodChannel* channel = |
| [FlutterMethodChannel methodChannelWithName:@"espresso" |
| binaryMessenger:[registrar messenger]]; |
| EspressoPlugin* instance = [[EspressoPlugin alloc] init]; |
| [registrar addMethodCallDelegate:instance channel:channel]; |
| } |
| |
| - (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result { |
| result(FlutterMethodNotImplemented); |
| } |
| @end |