to property

  1. @override
int to
override

The end value in the range.

It's usually but not guaranteed the maximum one.

Implementation

@override
int get to => throw UnsupportedError(
    '`to` property is unavailable for an empty progression.');