reset method

void reset()

Implementation

void reset() {
  state = [];
}