Creates a slice from list based on this range.
list
@override Slice<T> slice<T>(List<T> list) { _checkValidRange(start, end, list.length); return list.slice(start, end); }