registerSubscriber method

void registerSubscriber(
  1. NotificationHandlerFunc handler
)

Registers a notification subscriber

Implementation

void registerSubscriber(NotificationHandlerFunc handler) {
  _notificationSubscribers.add(handler);
}