operator [] method

DataTransferItem operator [](int index)

Source

DataTransferItem operator [](int index) {
  // TODO(alanknight): I think that all the __getter__ generators should just
  // do property access, but that's major surgery. This one is a problem, so
  // just hard-code it for now.
  return _blink.Blink_JsNative_DomException
      .getProperty(this, index.toString());
}

© 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/DataTransferItemList/operator_get.html