isGrovsNotification method
Whether a push payload was sent by Grovs
Implementation
@override
Future<bool> isGrovsNotification(Map<String, dynamic> data) async {
try {
final result = await methodChannel.invokeMethod<bool>(
'isGrovsNotification',
{'data': data},
);
return result ?? false;
} on PlatformException catch (e) {
throw GrovsException(
e.message ?? 'Failed to check notification',
code: e.code,
);
}
}