RemoveAt method

void RemoveAt(
  1. int index
)
Removes the attachment at the specified index. Index of the attachment to remove.

Implementation

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

  InternalRemoveAt(index);
}