WasmTable class final

A WebAssembly table.

Constructors

WasmTable.create(WasmStore store, WasmValueKind element, {required int initial, int? maximum, Object? fill})
Creates a new table in store.
factory

Properties

handle → TableHandle
final
hashCode → int
The hash code for this object.
no setterinherited
length → int
The number of entries.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
store → WasmStore
final
type → WasmTableExternType
The declared type of the table.
no setter

Methods

get(int index) → Object?
The entry at index. Throws a RangeError when out of bounds.
grow(int delta, [Object? initialValue]) → int
Appends delta entries initialised to initialValue, returning the previous length.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(int index, Object? value) → void
Stores value at index.
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited