Slice<T> constructor
Implementation
@pragma("vm:prefer-inline")
Slice(this._list, [this._start = 0, int? end])
: _end = end ?? _list.length,
assert(_start >= 0 && (end == null || end <= _list.length),
"Index out of bounds");