reset method

  1. @override
void reset()
override

Resets the state to the initial value;

Implementation

@override
void reset() {
  value = initial;
}