todayMidnight property
DateTime
todayMidnight
Implementation
static DateTime get todayMidnight {
final now = DateTime.now();
return DateTime(now.year, now.month, now.day, 23, 59, 59);
}
static DateTime get todayMidnight {
final now = DateTime.now();
return DateTime(now.year, now.month, now.day, 23, 59, 59);
}