Skip to content

JSBoxedDartObjectToObject

extension JSBoxedDartObjectToObject on JSBoxedDartObject

Conversions from JSBoxedDartObject to Object.

Properties

toDart extension no setter

Object get toDart

The Dart Object that this JSBoxedDartObject wrapped.

Throws an Exception if the Dart runtime was not the same as the one in which the Object was wrapped or if this was not a wrapped Dart Object.

Available on JSBoxedDartObject, provided by the JSBoxedDartObjectToObject extension

Implementation
dart
external Object get toDart;