JsMembers<T extends Object> class final

Explicit descriptor for members of a Dart object or class exposed to JavaScript.

Reflection-based injection may be added separately; this descriptor keeps the current explicit, statically constrained binding path.

Constructors

JsMembers({List<JsValue> values = const <JsValue>[], List<JsAccessor<T>> accessors = const [], List<JsMethod<T>> methods = const []})
Creates an explicit set of JavaScript-visible members.
const

Properties

accessors List<JsAccessor<T>>
Dynamic getter and setter properties.
final
hashCode int
The hash code for this object.
no setterinherited
methods List<JsMethod<T>>
Promise-returning instance methods.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values List<JsValue>
Readonly fixed properties.
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