removeRange method

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

This operation is not supported by an unmodifiable list.

Implementation

@override
void removeRange(int start, int end) {
  throw UnsupportedError('Cannot remove from an unmodifiable list');
}