WasmRunLibrary class

Static namespace for configuring the dynamic library for wasm_run

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

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

Static Methods

isReachable() bool
Returns whether the dynamic library is reachable in the default locations for the current application or in the WASM_RUN_DART_DYNAMIC_LIBRARY environment variable.
set(ExternalLibrary lib) → void
Sets the dynamic library to use for the native bindings.
setUp({required bool override, bool? isFlutter, Future<ByteData> loadAsset(String)?}) Future<void>
Sets up the dynamic library to use for the native bindings. If override is true, it will override the current library if it exists.

Constants

version → const String
The current version of the package.