restart method

void restart()

Implementation

void restart() {
  final now = DateTime.now();
  _lastActivityTime = now;
  _lastWorkTime = now;
  _currentDateTime = now;

  _currentCount = 0;
  _newCurrentCount = 0;
  _workCount = 0;
  _newWorkCount = 0;

  _privateCount = 0;
  _newPrivateCount = 0;
  _startTimer();
}