operator [] method

Range? operator [](
  1. int index
)

Indexer get of the class

Implementation

Range? operator [](int index) {
  if (index <= _innerList.length) {
    return _innerList[index - 1];
  } else {
    return null;
  }
}