operator [] method
- intindex
override
The object at the givenindex in the list.
Theindex must be a valid index of this list,which means thatindex must be non-negative andless thanlength.
Implementation
Plugin operator [](int index) { if (JS("bool", "# >>> 0 !== # || # >= #", index, index, index, length)) throw new IndexError.withLength(index, length, indexable: this); return JS("Plugin", "#[#]", this, index);}