WasmFuncType class final

A WebAssembly function signature: parameters and results.

Constructors

WasmFuncType({required List<WasmValueKind> parameters, required List<WasmValueKind> results})
const
WasmFuncType.empty()
const
WasmFuncType.fromNative(Pointer<wasm_functype_t> type)
Reads a borrowed wasm_functype_t.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
parameters → List<WasmValueKind>
final
results → List<WasmValueKind>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override
withNative<T>(T body(Pointer<wasm_functype_t> type)) → T
Calls body with a freshly allocated wasm_functype_t.

Operators

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