onNotificationReceived property
- @Deprecated('Listen to onNotificationInfoReceived(notification, deliveryMechanism) instead.')
Stream<NotificareNotification>
onNotificationReceived
Implementation
@Deprecated(
'Listen to onNotificationInfoReceived(notification, deliveryMechanism) instead.',
)
static Stream<NotificareNotification> get onNotificationReceived {
return _getEventStream('notification_received').map((result) {
final Map<dynamic, dynamic> json = result;
return NotificareNotification.fromJson(json.cast());
});
}