JsObject<T extends Object> class final

An existing Dart object exposed to JavaScript.

Constructors

JsObject({required T target, required JsMembers<T> members})
Creates an object injection descriptor.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
members → JsMembers<T>
Members exposed on the JavaScript proxy.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
target → T
Existing Dart instance receiving property and method operations.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited