changeValue method

void changeValue([
  1. String? newValue
])

Implementation

void changeValue([String? newValue]) {
  _value = newValue;
  _timer?.cancel();
  _timer = null;
  if (newValue == null) {
    _callback();
  } else {
    _timer = Timer(delay, _callback);
  }
}