WasmRuntime class abstract
A WebAssembly (Wasm) Runtime.
- Available Extensions
Constructors
- WasmRuntime()
-
factory
- WasmRuntime.base()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSupported → bool
-
Returns true if the WebAssembly (Wasm) Runtime is supported in the platform.
no setter
- platformVersion → String
-
Returns the platform version of the Wasm runtime.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getModule(
String moduleName) → WasmModule? - Returns a loaded Wasm module.
-
loadModule(
String moduleName, Uint8List wasmModuleBinary) → Future< WasmModule> - Loads a Wasm module.
-
loadModuleImpl(
String moduleName, Uint8List wasmModuleBinary) → Future< WasmModule> - Platform specific implementation. Call loadModule.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeModule(
String moduleName) → FutureOr< WasmModule?> - Removes a Wasm module.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited