Creates a slice from list based on this range.
list
@override Slice<T> slice<T>(List<T> list) { final len = list.length; _checkEnd(0, end, len); return list.slice(0, end); }