handleMethodCall method
Implementation
Future<dynamic> handleMethodCall(MethodCall call) async {
switch (call.method) {
case 'copyImage':
return copyImage(call.arguments['imagePath']);
default:
throw PlatformException(
code: 'Unimplemented',
details: "The image_clipboard plugin for web doesn't implement the method '${call.method}'",
);
}
}