atStartOfDay method

DateTime? atStartOfDay()

Implementation

DateTime? atStartOfDay() {
  final t = this;
  if (t == null) return null;
  return DateTime(t.year, t.month, t.day);
}