operator [] method

dynamic operator [](
  1. int index
)
Gets the response at the specified index. The zero-based index of the response to get.

Implementation

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

  return this._responses[index];
}