int end

The maximum value that value is allowed to assume.

Source

int get end => length - 1;