Payload class
The bridge tells the VTC something happened on the forge — translated from the forge's webhook or found by an inspection sweep — together with any drift it now sees.
Constructors
-
Payload({required NamespaceId namespace, required ForgeEvent event, List<
DriftItem> ? drift, Ext? ext}) -
const
-
Payload.fromJson(Map<
String, dynamic> json) -
Read this payload from a decoded JSON object.
factory
Properties
-
drift
→ List<
DriftItem> ? -
The complete outstanding drift for each repository the event concerns, replacing
what the VTC held for those repositories. Absent: the event changes no repository's
drift.
final
-
event
→ Map<
String, dynamic> -
final
- ext → Ext?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- namespace → String
-
The namespace the event happened in.
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