notifyObservers method

void notifyObservers(
  1. INotification note
)
override

Notify IObservers.

This method allows you to send custom INotification classes using the IFacade.

Usually you should just call sendNotification and pass the parameters, never having to construct an INotification yourself.

Implementation

void notifyObservers(INotification note) {
  if (view != null) view.notifyObservers(note);
}