WasmTable<T> class Null safety

A Wasm table.

Constructors

WasmTable(int size)
Declare a table with the given size.

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
size WasmI32
The size of the table.
read-only

Methods

callIndirect<F extends Function>(WasmI32 index) → F
Call a function stored in the table using the call_indirect Wasm instructionm. The function value returned from this method must be called directly.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](WasmI32 index) → T
Read from an entry in the table.
operator []=(WasmI32 index, T value) → void
Write to an entry in the table.