dispose method

void dispose ()

Discards the resources used by the object. After this is called, the object is not in a usable state and should be discarded.

Implementation

void dispose() {
  _notifier.dispose();
  _notifier = null;
}