isWeekend property
bool
get
isWeekend
Implementation
bool get isWeekend => (weekday == DateTime.saturday) || (weekday == DateTime.sunday);
bool get isWeekend => (weekday == DateTime.saturday) || (weekday == DateTime.sunday);