DateTimeRange constructor
Creates a date range for the given start and end DateTime.
Implementation
DateTimeRange({
required this.start,
required this.end,
}) : assert(!start.isAfter(end));
Creates a date range for the given start and end DateTime.
DateTimeRange({
required this.start,
required this.end,
}) : assert(!start.isAfter(end));