onNotificationInfoReceived property

Stream<NotificareNotificationReceivedEvent> get onNotificationInfoReceived

Called when a push notification is received.

It will provide a NotificareNotificationReceivedEvent containing the NotificareNotification received and the NotificareNotificationDeliveryMechanism used for its delivery.

Implementation

static Stream<NotificareNotificationReceivedEvent>
    get onNotificationInfoReceived {
  return _getEventStream('notification_info_received').map((result) {
    final Map<dynamic, dynamic> json = result;
    return NotificareNotificationReceivedEvent.fromJson(json.cast());
  });
}