slice method

Slice slice(
  1. int start, [
  2. dynamic end,
  3. Map? options
])

Implementation

Slice slice(int start, [end, Map? options]) =>
    Slice(this, start, end, options!);