APPDataflow class
One unit of the page's data contract: a named flow describing what data enters or leaves the running page, the SDS standard it carries, how it is transported, and — when applicable — the loaded module method port bound to it. Standards-only rule: every flow payload is an SDS record (a canonical size-prefixed FlatBuffer) or a CID pointing at one; this table defines no data shapes of its own, it only references an existing spacedatastandards.org schema by its established code. Locators are content-addressed and IPFS-first.
Constructors
-
APPDataflow(List<
int> bytes) -
factory
Properties
- CONTENT_ENCODING → appContentEncoding
-
String/compression form of the payload as it crosses the channel,
reusing the page content-encoding vocabulary. For flows carrying
canonical SDS FlatBuffer bytes (or a CID string), UTF8 denotes the raw
bytes/string with no extra wrapper; BASE64, BASE64_GZIP, and
BASE64_BROTLI denote a base64 text wrapper (optionally compressed)
applied when the channel is text-only.
no setter
- contentEncoding → appContentEncoding
-
no setter
- DESCRIPTION → String?
-
Human-readable summary.
no setter
- DIRECTION → appFlowDirection
-
Which way the payload crosses the page boundary at runtime.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- LOCATOR → String?
-
Where to fetch or reach the payload, interpreted per TRANSPORT: a CID
for IPFS_CID, a gossip topic name for PUBSUB_TOPIC, or a same-origin
route template for GATEWAY_ROUTE.
no setter
- METHOD_ID → String?
-
When present, the PLG.PLGMethodManifest.METHOD_ID on MODULE_ID that
this flow is bound to.
no setter
- methodId → String?
-
no setter
- MODULE_ID → String?
-
When present, must equal an APPModuleRef.ID in the same manifest — the
loaded module that produces or consumes this flow. Binds the flow to a
specific module method port together with METHOD_ID and PORT_ID.
no setter
- moduleId → String?
-
no setter
- NAME → String?
-
App-local stable name for this flow. Required, unique within the
manifest.
no setter
- PORT_ID → String?
-
When present, the PLG.PLGPortManifest.PORT_ID on METHOD_ID that this
flow is bound to.
no setter
- portId → String?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- SDS_SCHEMA → String?
-
Existing SDS schema code carried by this flow, for example OMM, OEM, or
PNM. Required. Mirrors APPDataRef.SDS_TYPE but named for the standard
the flow carries; the app defines no schema of its own.
no setter
- sdsSchema → String?
-
no setter
- TRANSPORT → appFlowTransport
-
Transport that moves the payload. Defaults to IPFS_CID per the
content-addressed, IPFS-first rule.
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<
APPDataflow>