WasmValue class

A WASM value.

Implementers
Annotations
  • @immutable

Constructors

WasmValue.externRef(Object? value)
A nullable external object reference.
const
factory
WasmValue.f32(double value)
Value of 32-bit IEEE 754-2008 floating point number.
const
WasmValue.f64(double value)
Value of 64-bit IEEE 754-2008 floating point number.
const
WasmValue.funcRef(WasmFunction? value)
A nullable function reference.
const
factory
WasmValue.i32(int value)
Value of 32-bit signed or unsigned integer.
const
WasmValue.i64(int value)
Value of 64-bit signed or unsigned integer.
WasmValue.i64BigInt(BigInt value)
Value of 64-bit signed or unsigned integer.
WasmValue.v128(U8Array16 value)
A 128 bit number.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ValueTy
The Wasm type of the value.
final
value Object?
The Dart value.
final

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