notification_dispatcher library

Classes

NotificationDispatcher
The NotificationDispatcher class. Passes information around to registered observers. The class comes with a default instance named NotificationDispatcher.instance.
NotificationMessage
The class used to store a notification's payload.

Typedefs

NotificationCallback = void Function(NotificationMessage)
Callback signature when receiving a notification.