Payload class
The controller VTA sets a wake handle's trigger allowlist on the push gateway — the DIDs permitted to wake the device. The gateway accepts it only from the handle's recorded controller VTA and enforces it on every push/wake. See the push wake-up binding (https://trusttasks.org/binding/push/0.1).
Constructors
- Payload({required String handle, required WakeTriggerPolicy policy, Ext? ext})
-
const
-
Payload.fromJson(Map<
String, dynamic> json) -
Read this payload from a decoded JSON object.
factory
Properties
- ext → Ext?
-
final
- handle → String
-
The opaque gateway-issued handle (from push/register) whose allowlist is being set.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- policy → WakeTriggerPolicy
-
The trigger allowlist the VTA computed by its own policy — the DIDs permitted to
wake this handle (typically the device's mediator and/or the VTA itself). Empty
disables waking.
final
- 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
-
toJson(
) → Map< String, dynamic> - Serialize to a JSON-encodable map, omitting absent members.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited