setSecond method

void setSecond(
  1. int? second
)

Sets the second and notifies listeners.

Implementation

void setSecond(int? second) {
  if (this.second == second) return;
  this.second = second;
  notifyListeners();
}