NepaliDateTimeRange constructor

const NepaliDateTimeRange({
  1. required NepaliDateTime start,
  2. required NepaliDateTime end,
})

Creates a date range for the given start and end NepaliDateTime.

start and end must be non-null.

Implementation

const NepaliDateTimeRange({
  required this.start,
  required this.end,
});