CustomDiscreteRange<T> constructor

CustomDiscreteRange<T>({
  1. Bound<T>? lowerBound,
  2. Bound<T>? upperBound,
  3. required Comparator<T> comparator,
  4. required Increaser<T> increaser,
})

Implementation

CustomDiscreteRange({
  Bound<T>? lowerBound,
  Bound<T>? upperBound,
  required Comparator<T> comparator,
  required Increaser<T> increaser,
})  : _comparator = comparator,
      _increaser = increaser,
      super(
        lowerBound: lowerBound,
        upperBound: upperBound,
      );