setEndTime method

void setEndTime()

Assigns the current time and date to end and calls notifyListeners

Implementation

void setEndTime(){
  end = DateTime.now();
  notifyListeners();
}