periodOffset property Null safety

int periodOffset

The hour at which the current period starts.

Implementation

int get periodOffset => period == DayPeriod.am ? 0 : hoursPerPeriod;