JsObject class

Implementers

Constructors

JsObject.fromBrowserObject(Object object)
factory
JsObject.jsify(Object object)
Recursively converts a JSON-like collection of Dart objects to a collection of JavaScript objects and returns a JsObject proxy to it.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

callMethod(Object method, [List? args]) → dynamic
Calls method on the JavaScript object with the arguments args and returns the result.
deleteProperty(Object property) → void
Removes property from the JavaScript object.
hasProperty(Object property) bool
Returns true if the JavaScript object contains the specified property either directly or though its prototype chain.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Returns the result of the JavaScript objects toString method.
override

Operators

operator ==(Object other) bool
The equality operator.
override
operator [](Object property) → dynamic
Returns the value associated with property from the proxied JavaScript object.
operator []=(Object property, Object? value) → void