remove method

bool remove (
  1. Object element
)
inherited

This operation is not supported by an unmodifiable list.

Implementation

bool remove(Object? element) {
  throw new UnsupportedError("Cannot remove from an unmodifiable list");
}