day property

int day

Implementation

int get day => _day!;
void day=(int day)

Implementation

set day(int day) {
  if (day < _DAY_MIN || day > _DAY_MAX) {
    throw const FormatException('TimeOfWeek day param exceeded the range');
  }
  _day = day;
}