TimeRange constructor

const TimeRange({
  1. required int from,
  2. required int until,
})

Returns a new TimeRange instance.

Implementation

const TimeRange({
  required this.from,
  required this.until,
});