Modules.noModules constructor

const Modules.noModules(
  1. {required String root}
)

Initialize a wasm_bindgen module built with the -t no-modules flag.

The expected output is a file named $root.js and the accompanying WASM binary named ${root}_bg.wasm.

Implementation

const factory Modules.noModules({required String root}) =
    _WasmBindgenNoModules;