onSystemNotificationReceived property

Stream<NotificareSystemNotification> get onSystemNotificationReceived

Called when a custom system notification is received.

It will provide the NotificareSystemNotification received.

Implementation

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