periodOffset property

int periodOffset

The hour at which the current period starts.

Implementation

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