StateHookJS

State hook for JS interop types (JSString, JSObject, etc).

Use this instead of useState when state must remain as a JS type without dartify/jsify conversion.

Properties

hashCode → int
The hash code for this object.
no setterinherited

runtimeType → Type

A representation of the runtime type of the object.
no setterinherited

value → JSAny?

The current value of the state.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited

set(JSAny? newValue) → void

Updates value to newValue.

toString() → String

A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited