RemoveAt method

void RemoveAt(
  1. int index
)
Removes the String at the specified position from the list. The index of the String to remove.

Implementation

void RemoveAt(int index) {
  if (index < 0 || index >= length) {
    throw RangeError.range(
      index,
      0,
      length,
      "index",
      "Strings.IndexIsOutOfRange",
    );
  }

  _items.removeAt(index);

  Changed();
}