resume method Null safety

void resume()

Implementation

void resume() {
  paused = false;
}