Global class

WebAssembly Global instance. Could be shared between different instantiated modules.

Annotations

Constructors

Global.externref({Object? value, bool mutable = false})
Creates a Global of externref type with value.
Global.f32({double value = 0, bool mutable = false})
Creates a Global of single-precision floating point type with value.
Global.f64({double value = 0, bool mutable = false})
Creates a Global of double-precision floating point type with value.
Global.i32({int value = 0, bool mutable = false})
Creates a Global of 32-bit integer type with value.
Global.i64({BigInt? value, bool mutable = false})
Creates a Global of 64-bit integer type with value.

Properties

hashCode int
The hash code for this object.
no setteroverride
jsObject → _Global
JavaScript WebAssembly.Global object
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value Object?
Returns a value stored in Global.
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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override