pause method

void pause()

Pauses auto refreshing.

While paused, onRefresh will not be called.

Implementation

void pause() {
  _paused = true;
}