sublist abstract method

Result sublist(
  1. int start, [
  2. int? end
])

Returns a new list with items at index start inclusive to end exclusive.

Implementation

Result sublist(int start, [int? end]);