slice<T> method

  1. @override
Slice<T> slice<T>(
  1. List<T> list
)
override

Creates a slice from list based on this range.

Implementation

@override
Slice<T> slice<T>(List<T> list) {
  final len = list.length;
  _checkStart(start, len);
  return list.slice(start);
}