copyImage method
Copies the image located at imagePath
to the clipboard.
For web platform, imagePath
should be a URL.
For other platforms, imagePath
should be a local file path.
Implementation
@override
Future<void> copyImage(String imagePath) async {
await methodChannel.invokeMethod('copyImage', {'imagePath': imagePath});
}