clear method

void clear()

Removes all items from the ObserverList.

Implementation

void clear() {
  _isDirty = false;
  _list.clear();
  _set.clear();
}