onButtonClicked property

EventStream<OnButtonClickedEvent> get onButtonClicked

The user pressed a button in the notification.

Implementation

EventStream<OnButtonClickedEvent> get onButtonClicked =>
    $js.chrome.notifications.onButtonClicked.asStream(($c) => (
          String notificationId,
          int buttonIndex,
        ) {
          return $c(OnButtonClickedEvent(
            notificationId: notificationId,
            buttonIndex: buttonIndex,
          ));
        });