Range.point constructor

Range.point(
  1. int value
)

Obtains a range using the specified element as both the minimum and maximum in this range.

Implementation

factory Range.point(final int value) => Range._(value, value);