clear method

void clear()

Clears the list and notifies listeners.

Implementation

void clear() {
  _rawList = <T>[];
  _listChanged();
}