reset method

void reset()

Implementation

void reset() {
  final data = this.data;
  data.clear();
}