ComparableRange<T extends Comparable<T> > constructor
const
ComparableRange<T extends Comparable<T> > (
- T start,
- T endInclusive
Create a range of Comparable values such as String or DateTime
The order of start and endInclusive doesn't matter.
Implementation
const ComparableRange(this.start, this.endInclusive);