removeRange method

  1. @override
Future<void> removeRange(
  1. int start,
  2. int end
)
override

Removes a range of elements from the list.

Removes the elements with positions greater than or equal to start and less than end, from the list. This reduces the list's length by end - start.

Implementation

@override
Future<void> removeRange(int start, int end) async {
  return Future<void>(() => _collective.removeRange(start, end));
}