start method

void start()

Método que inicia el contador solo si la app esta activa

Implementation

void start() {
  if (!_isRunning) {
    _isRunning = true;
    _timer = Timer.periodic(const Duration(seconds: 1), (timer) {
      _secondsUsed++; // INCREMENTA EL TIEMPO CADA SEGUNDO
      notifyListeners(); // NOTIFICA A LA UI SOBRE EL CAMBIO DE ESTADO
    });
  }
}