Payload class
A device registers its platform push token (APNs / FCM / Web Push) with a push gateway and names the controller VTA permitted to provision its trigger allowlist. The gateway returns an opaque WakeHandle; the raw token is held by the gateway only. See the push wake-up binding (https://trusttasks.org/binding/push/0.1).
Constructors
- Payload({required PushRegistration? registration, required String controllerVtaDid, Ext? ext})
-
const
-
Payload.fromJson(Map<
String, dynamic> json) -
Read this payload from a decoded JSON object.
factory
Properties
- controllerVtaDid → String
-
The DID of the VTA permitted to provision this handle's trigger allowlist
(push/provision). The device conveys the resulting handle to this VTA via
device/set-wake.
final
- ext → Ext?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- registration → PushRegistration?
-
The platform push channel (token). Held by the gateway only — never disclosed to
any other party.
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