second property

int second

Range: 0 - 59 (inclusive)

Throws InvalidSecondException if second is set to a value that is not in the valid range.

Implementation

int get second => _second;
void second=(int second)

Implementation

set second(int second) {
  if (second >= 0 && second <= 59) {
    _second = second;
  } else {
    throw InvalidSecondException.withValue(second);
  }
}