WasmModule class abstract

A WebAssembly (Wasm) Runtime module

Available Extensions

Constructors

WasmModule(String name)

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The module name.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copy({String? name}) Future<WasmModule>
Returns a copy instance of this module.
dispose() FutureOr<void>
Disposes this module instance.
getFunction<F extends Function>(String functionName) → F?
Returns a module function mapped to F.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveReturnedValue(Object? value, ASTFunctionDeclaration? f) Object?
Resolves the returned value from a called module function.
toString() String
A string representation of this object.
inherited

Operators

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