onNotificationOpened property

Stream<NotificareNotification> get onNotificationOpened

Called when a push notification is opened by the user.

It will provide the NotificareNotification that was opened.

Implementation

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