startOfDay static method

DateTime startOfDay()

Implementation

static DateTime startOfDay(){
  final now = DateTime.now();
  return DateTime(now.year, now.month, now.day, 0, 0, 0);
}