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 withvalue
. - 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
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