Module class Null safety

Base class to interact with the WebAssembly.

Currently, only emscripten compiled WebAssembly is supported, so the only concrete implementation if this class is EmscriptenModule.

To support additional mechanisms/frameworks/compilers, create a subclass of Module.

Implementers
Annotations

Constructors

Module()

Properties

exports List<WasmSymbol>
A list containing everything exported by the underlying WebAssembly instance.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
heap ByteBuffer
Provides access to the WebAssemblys memory buffer. [...]
@doNotStore, read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

free(int pointer) → void
Provides access to the free function in WebAssembly. [...]
malloc(int size) int
Provides access to the malloc function in WebAssembly. [...]
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