reset method

  1. @Deprecated("No longer used by the framework. " 'This feature was deprecated after v6.0.0.pre.')
void reset()

Reset the state to initial value

Implementation

@Deprecated(
  "No longer used by the framework. "
  'This feature was deprecated after v6.0.0.pre.',
)
void reset() => value = initial;