JsValue class abstract
- Implementers
Constructors
- JsValue({required dynamic dartObject, required JsValueType type})
Properties
- asFuture → Future
-
no setter
- dartObject → dynamic
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isArray → bool
-
no setter
- isConstructor → bool
-
no setter
- isFunction → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- script → JsScript
-
no setter
- type → JsValueType
-
final
Methods
-
call(
[List argv = const []]) → dynamic - Call as a JS function object.
-
delayRelease(
) → void -
get(
dynamic key) → dynamic - Get a property of this JS object.
-
getOwnPropertyNames(
) → List< String> -
invoke(
String name, [List argv = const []]) → dynamic - Invoke a property function.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onDispose(
) → void -
release(
) → int -
retain(
) → int -
set(
dynamic key, dynamic value) → void - Set property to this JS object.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
dynamic key) → dynamic -
operator []=(
dynamic key, dynamic value) → void