sublist method

Future<List<E>> sublist(
  1. int start, [
  2. int? end
])

Refer to List.sublist.

Implementation

Future<List<E>> sublist(int start, [int? end]) async {
  return (await this).sublist(start, end);
}