web library

Web / WebAssembly runtime helpers.

On non-web platforms the loader throws UnsupportedError.

Classes

EmscriptenModule
A loaded Emscripten module.

Functions

loadEmscriptenModule({required Uri scriptUrl, List<int>? wasmBinary, String factoryName = 'Module', Map<String, Object?> moduleOptions = const {}}) → Future<EmscriptenModule>
Loads an Emscripten module from scriptUrl.