isAfternoon property

  1. @useResult
bool get isAfternoon

True if hour is in 12..16 (afternoon).

Implementation

@useResult
bool get isAfternoon => hour >= 12 && hour < 17;