setHour method
Sets the hour and notifies listeners.
Implementation
void setHour(int? hour) {
if (this.hour == hour) return;
this.hour = hour;
notifyListeners();
}
Sets the hour and notifies listeners.
void setHour(int? hour) {
if (this.hour == hour) return;
this.hour = hour;
notifyListeners();
}