operator [] method

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

Implementation

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

  return _responses[index];
}