end method
If inclusive
is provided and differs from the current end inclusion,
the end value is adjusted to the next or previous value accordingly.
inclusive
Optional. If provided, overrides the end inclusion.
Returns the end value of the range, optionally with inclusion overridden.
Implementation
@override
CTYPE? end({bool? inclusive}) =>
_end == null || inclusive == null || _endInclusive == inclusive
? _end
: inclusive
? _prev(_end)
: _next(_end);