isInApril property
bool
isInApril
- return
true
if the date is In April,false
otherwise.
Implementation
bool get isInApril => month == 4;
true
if the date is In April, false
otherwise.bool get isInApril => month == 4;