dismissIsolate property

NotificationDismissedIsolate? dismissIsolate
final

The isolate a dismissal is reported on, or null to not report it.

When set, swiping the notification away triggers a NotificationResponse of type NotificationResponseType.notificationDismissed on that isolate. NotificationDismissedIsolate.background fires even when the app has been terminated; NotificationDismissedIsolate.main fires only while it runs. Dismissing via a tap or cancel is never reported.

Implementation

final NotificationDismissedIsolate? dismissIsolate;