reset method

void reset()

Reset the state to initial value

Implementation

void reset() => value = initial;