notifyObservers method

void notifyObservers()

Implementation

void notifyObservers() {
  for (var observer in observers) {
    observer.call();
  }
}