метод оператора []
SpeechGrammar оператор [](Возвращает объект в заданном index в списке или выбрасывает RangeError, если index находится за пределами границ.
Исходный код
SpeechGrammar 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/SpeechGrammarList/operator_get.html