isMorning property
bool
get
isMorning
Returns true if the time is morning (06:00–11:59).
Implementation
bool get isMorning => hour >= 6 && hour < 12;
Returns true if the time is morning (06:00–11:59).
bool get isMorning => hour >= 6 && hour < 12;