clearAll method

void clearAll()

Clear all registered observers.

Useful for testing.

Implementation

void clearAll() {
  _observers.clear();
}