isBeforeToday method
Implementation
bool isBeforeToday() {
final now = DateTime.now();
final today = DateTime(now.year, now.month, now.day);
return isBefore(today);
}
bool isBeforeToday() {
final now = DateTime.now();
final today = DateTime(now.year, now.month, now.day);
return isBefore(today);
}