anchor.diff:    String counter;
     Stopwatch watch = new Stopwatch();
     Timer timer;
  +  List<String> times;
   
     ClockState currentState;
   
  
positive.code: <input #durationrest>
  <button (click)="setDurationRest(durationrest.value)">change</button>
  </p>
  ''', directives: const [NgIf])
  
  class Clock{
  
  
negative.code:     if( s < 0){ 
        updateState();
        setCounter();
        addToHistory();
        reset();
        return; 
      }
      counter = prettyPrintTime(s);
    }
  
    void addToHistory(){
      switch(currentState){
        case ClockState.pomodoro:
          times.add("rest");
          break;
        case ClockState.rest:
          times.add("pomodoro");
          break;
      }
    }
  
    void setDurationPomodoro(string duration){
  