APPModuleRef class

One member WASM module of the app. References module identity; never embeds the module artifact itself (delivery is the module-bundle lane).

Constructors

APPModuleRef(List<int> bytes)
factory

Properties

CONTENT_HASH → String?
64 lowercase hexadecimal characters encoding SHA-256 of the module's portable (pre-AOT, publication-trailer-stripped) WASM bytes. This is the identity capability policies and signature policies key on.
no setter
contentHash → String?
no setter
DESCRIPTION → String?
Human-readable summary.
no setter
hashCode → int
The hash code for this object.
no setterinherited
ID → String?
App-local stable reference for this module. Required, unique within the manifest.
no setter
MAX_COST_UNITS → int
Per-invocation execution-cost (fuel) budget override. Zero means the host runtime default applies.
no setter
MAX_MEMORY_PAGES → int
Linear-memory ceiling override in 64 KiB WASM pages. Zero means the host runtime default applies.
no setter
MAX_WALL_CLOCK_MS → int
Per-invocation wall-clock budget override in milliseconds. Zero means the host runtime default applies.
no setter
maxCostUnits → int
no setter
maxMemoryPages → int
no setter
maxWallClockMs → int
no setter
PLUGIN_ID → String?
Plugin identifier of the module as published in its plugin listing.
no setter
pluginId → String?
no setter
ROLE → String?
Free-text launcher hint, for example primary, worker, or ui-host.
no setter
RUNTIME_TARGET → appRuntimeTarget
Where this module is instantiated. PAGE or BOTH means the module also loads in the browser: the page resolves its bytes by CONTENT_HASH over IPFS and instantiates it through the SAME isomorphic module-sdk harness ABI the SDN nodes use (manifest + plugin_invoke_stream) — never through a bespoke page-only loader. Defaults to NODE to preserve the prior node-only behavior of manifests written before this field existed.
no setter
runtimeTarget → appRuntimeTarget
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
VERSION → String?
Module version expected by the app.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

reader → const Reader<APPModuleRef>