endOfDay static method

DateTime endOfDay()

Implementation

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