WebJsValue class

Inheritance

Constructors

WebJsValue(WebJsScript script, JsObject _object, {dynamic dartObject, JsValueType type = JsValueType.JsObject})

Properties

asFuture → Future
no setteroverride
dartObject → dynamic
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
isArray → bool
no setteroverride
isConstructor → bool
no setteroverride
isFunction → bool
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
script ↔ WebJsScript
getter/setter pairoverride-getter
type → JsValueType
finalinherited

Methods

call([List argv = const []]) → dynamic
Call as a JS function object.
override
delayRelease() → void
override
get(dynamic key) → dynamic
Get a property of this JS object.
override
getOwnPropertyNames() → List<String>
override
invoke(String name, [List argv = const []]) → dynamic
Invoke a property function.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDispose() → void
override
release() → int
override
retain() → int
override
set(dynamic key, dynamic value) → void
Set property to this JS object.
override
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited
operator [](dynamic key) → dynamic
inherited
operator []=(dynamic key, dynamic value) → void
inherited