clear method

void clear()

Removes all elements from the value.

Implementation

void clear() {
  value.clear();
  notifyListeners();
}