clear method

void clear()

Implementation

void clear() {
  clearError();
  if (value != null) {
    value?.clear();
    notifyListeners();
  }
}