awesome_notifications_web
library
Classes
-
AwesomeNotificationsWeb
-
The web implementation: the browser's page notifications through
WebNotificationsEngine, and the add-ons' own (media, calls, live
activities) through the builders they register.
-
WebNotificationRemoval
-
Which notifications a cancel / dismiss removes: the one with id, every
one of channelKey or of groupKey, or all of them (every field null).
Typedefs
-
WebNotificationBuilder
= Future<bool?> Function(Map<String, dynamic> model)
-
Takes over
createNotification on the web for the models an add-on owns:
answers null when the model isn't its own, true / false when it handled
it, or throws to reject it. It may update the map's content (a new
map): the created / displayed events of a handled model report it.
-
WebRemovalListener
= Future<void> Function(WebNotificationRemoval removal)
-
Told when the app cancels or dismisses notifications, so an add-on can
release what it shows for them.