slice method

List<T?> slice(
  1. int start, [
  2. int? end
])

Implementation

List<T?> slice(int start, [int? end]) {
  return _privateSlice(start, end);
}