isFriday property
bool
isFriday
- return
true
if the date is Friday,false
otherwise.
Implementation
bool get isFriday => weekday == DateTime.friday;
true
if the date is Friday, false
otherwise.bool get isFriday => weekday == DateTime.friday;