Payload class

VTA Contexts Create — payload

Constructors

Payload({required String id, required String name, String? description, String? parent, Ext? ext})
const
Payload.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

description → String?
Free-form description.
final
ext → Ext?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Id for the new context. When parent is present this is the leaf segment and the full id becomes &lt;parent&gt;/&lt;id&gt;; otherwise it is a top-level id. Must be unique within its parent — a collision is refused, never merged.
final
name → String
Human-readable name. Operator-facing only; carries no authorization meaning.
final
parent → String?
Id of the context to nest under. Absent creates a top-level context. Nesting is not cosmetic: authority granted at the parent reaches this context.
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