copyImageByPath method
Implementation
@override
Future<bool?> copyImageByPath(String filePath) async {
try {
final res = await methodChannel.invokeMethod<bool>('copyImageByPath', {
"filePath":filePath
});
return res;
} catch (e) {
developer.log("copyImageByPath: ${e.toString()}",name: "DesktopClipboard");
}
return false;
}