togglePause method

void togglePause()

Toggles whether new logs are received.

Implementation

void togglePause() {
  paused = !paused;
  notifyListeners();
}