sendImage method
Send image
Implementation
@override
Future<bool> sendImage(String imagePath) async {
try {
final result = await _channel.invokeMethod<bool>('sendImage', {
'imagePath': imagePath,
});
return result ?? false;
} catch (e) {
debugPrint('Send image error: $e');
return false;
}
}