shareImageToWhatsapp method
Implementation
@override
Future<bool?> shareImageToWhatsapp({required String imagePath, String? text, String? phone}) async {
final bool? result = await _channel.invokeMethod(Platform.isAndroid ? 'shareToWhatsapp' : 'shareImageToWhatsapp', {
'imagePath': imagePath,
if (text != null) 'text': text,
if (phone != null) 'phone': phone,
});
return result;
}