sort method

view source

void sort ([Comparator<E>? compare]) inherited

Implementation

void sort([Comparator<E>? compare]) {
  throw new UnsupportedError("Cannot modify an unmodifiable list");
}