notifyListeners method

void notifyListeners(
  1. T event
)

Notifies all subscribed listeners of an event.

Implementation

void notifyListeners(T event) {
  if (hasListener) {
    _updateNotifier.sink.add(event);
  }
}