метод оператора []
TextTrack оператор [](Возвращает объект по заданному index в списке или выбрасывает RangeError, если index находится за пределами допустимого диапазона.
Исходный код
TextTrack operator [](int index) {
if (index < 0 || index >= length) throw new RangeError.index(index, this);
return _nativeIndexedGetter(index);
}
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/TextTrackList/operator_get.html