reset method

void reset()

Reset the input.

Implementation

void reset() {
  _value = [];
  _pos = 0;
  _error = null;
}