end property
The upper bound of for the range. This might be or might not be the last element which is totally based on the start and step. Example:
-
IntRange(1, 10, step: 2) It is a range of odd numbers which won't include 10 as the last element despite 10 being the upper bound.
-
IntRange(2, 10, step: 2) It is a range of even numbers which will include 10 as the last element.
Implementation
final int end;