W3cubDocs

/Dart 2

operator [] method

T operator [] (Object object)

Gets the value of this Expando's property on the given object. If the object hasn't been expanded, the method returns null.

The object must not be a number, a string, a boolean or null.

Implementation

external T operator [](Object object);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-core/Expando/operator_get.html