rangeTo method

RangeInclusive<C> rangeTo(
  1. C other
)

Creates a range from this (inclusive) to other (inclusive).

Implementation

RangeInclusive<C> rangeTo(C other) => RangeInclusive(this, other);