beginningOfDay property

DateTime? get beginningOfDay

Returns the start of the day (00:00:00).

Implementation

DateTime? get beginningOfDay {
  if (this == null) return null;
  return DateTime(this!.year, this!.month, this!.day);
}