reset method

void reset()

Implementation

void reset() {
  isEnded = false;
  page = 1;
}