WasmGlobal class final
A WebAssembly global variable.
Constructors
- WasmGlobal.create(WasmStore store, WasmValueKind type, {required bool mutable, Object? value})
-
Creates a new global in
store.factory
Properties
- handle → GlobalHandle
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- store → WasmStore
-
final
- type → WasmGlobalExternType
-
The declared type of the global.
no setter
- value ↔ Object?
-
The current value.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited