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