isNow method
是否为今天
Implementation
bool isNow() {
return day == DateTime.now().day &&
month == DateTime.now().month &&
year == DateTime.now().year;
}
是否为今天
bool isNow() {
return day == DateTime.now().day &&
month == DateTime.now().month &&
year == DateTime.now().year;
}