ExternalDartReferenceToObject<T extends Object?>#
Conversions from ExternalDartReference
to the value of type T.
Properties#
toDartObject extension no setter#
The Dart value of type T that this ExternalDartReference
refers to.
When compiling to JavaScript, a Dart object is a JavaScript object, and therefore this directly returns the Dart object. When compiling to Wasm, an internal Wasm function is used to convert the opaque JavaScript value to the original Dart object.
Available on ExternalDartReference<T extends Object?>, provided by the ExternalDartReferenceToObject<T extends Object?> extension
Implementation
external T get toDartObject;