removeRange method

Future<List<E>> removeRange(
  1. int start,
  2. int end
)

Refer to List.removeRange.

Additionally returns the list.

Implementation

Future<List<E>> removeRange(int start, int end) async {
  return (await this)..removeRange(start, end);
}