operator [] method

TChange operator [](
  1. int index
)
Gets an individual change from the change collection. Zero-based index.

Implementation

TChange operator [](int index) {
  if (index < 0 || index >= Count) {
    throw RangeError.range(
      index,
      0,
      Count,
      "index",
      "Strings.IndexIsOutOfRange",
    );
  }

  return _changes[index];
}