update method

  1. @override
void update(
  1. T newValue
)
override

Updates the value and notifies listeners if changed

Implementation

@override
void update(T newValue) {
  super.update(newValue);
  if (_touched) {
    validate();
  }
}