Modules class abstract
Currently supported modes of module initialization.
Advanced users may wish to inherit this class and override initializeModule to provide their own initialization process.
Constructors
- Modules()
-
Construct modules
const
- Modules.noModules({required String root})
-
Initialize a
wasm_bindgen
module built with the-t no-modules
flag.constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
initializeModule(
WasmModule module()?) → Future< Object> - How a WASM module is brought into Dart's scope and initialized.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited