handleNotificationReceived method
Implementation
@override
Future<bool> handleNotificationReceived(Map<String, dynamic> userInfo) async {
try {
final handled = await methodChannel.invokeMethod<bool>(
'handleNotificationReceived',
userInfo,
);
return handled ?? false;
} on PlatformException {
rethrow;
} catch (e) {
throw mapNativeError(e);
}
}