WebJsValue class Null safety

Inheritance

Constructors

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

Properties

asFuture Future
read-only, override
dartObject → dynamic
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
isArray bool
read-only, override
isConstructor bool
read-only, override
isFunction bool
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
script WebJsScript
read / write, override-getter
type JsValueType
final, inherited

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 non-existent 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