endOfDay static method
Implementation
static DateTime endOfDay(){
final now = DateTime.now();
return DateTime(now.year, now.month, now.day, 23, 59, 59);
}
static DateTime endOfDay(){
final now = DateTime.now();
return DateTime(now.year, now.month, now.day, 23, 59, 59);
}