period property
Whether this time of day is before or after noon.
Implementation
DayPeriod get period => hour < hoursPerPeriod ? DayPeriod.am : DayPeriod.pm;
Whether this time of day is before or after noon.
DayPeriod get period => hour < hoursPerPeriod ? DayPeriod.am : DayPeriod.pm;