operator [] method
- String property
Shorthand helper for getProperty to get the value of the property key
property
of this JSObject, but takes a Dart value.
Implementation
JSAny? operator [](String property) => getProperty(property.toJS);
Shorthand helper for getProperty to get the value of the property key
property
of this JSObject, but takes a Dart value.
JSAny? operator [](String property) => getProperty(property.toJS);