operator [] method Null safety

Plugin operator [](
  1. int index
)

Implementation

Plugin operator [](int index) {
  if (JS("bool", "# >>> 0 !== # || # >= #", index, index, index, length))
    throw new RangeError.index(index, this);
  return JS("Plugin", "#[#]", this, index);
}