compile static method
Connects to the JavaScript glue of the emscripten module.
Works like process, except that the bytes of the WebAssembly are passed to the JavaScript emscripten module, so it is your responsibility to fetch it.
On platforms where dart:js is not available, an UnsupportedError is thrown.
Implementation
static Future<EmscriptenModule> compile(
Uint8List wasmBinary, String moduleName) =>
throw new UnsupportedError(
'Emscripten operations are only allowed on the web (where dart:js is present)!');