notify method

dynamic notify(
  1. T value
)

Implementation

notify(T value) {
  _listeners.forEach((fn) => fn(value));
}