onClosed property

EventStream<OnClosedEvent> get onClosed

The notification closed, either by the system or by user action.

Implementation

EventStream<OnClosedEvent> get onClosed =>
    $js.chrome.notifications.onClosed.asStream(($c) => (
          String notificationId,
          bool byUser,
        ) {
          return $c(OnClosedEvent(
            notificationId: notificationId,
            byUser: byUser,
          ));
        }.toJS);