BuildTurn class

Constructors

BuildTurn({String? actor, String? at, String? body, String? commit, String? kind, String? subject, int? turn})
Returns a new BuildTurn instance.

Properties

actor ↔ String?
Actor is who took the turn. A deploy turn's actor is the literal "deploy", because nobody took it.
getter/setter pair
at ↔ String?
At is when the turn was recorded, RFC 3339 in UTC to the second.
getter/setter pair
body ↔ String?
Body is the readable text of the turn, taken from the stored event's text. Empty when the event carried a payload of some other shape — this route reads transcripts and does not invent prose for turns that are not one.
getter/setter pair
commit ↔ String?
Commit is the full sha this turn produced, empty when the turn changed nothing. It is ECHOED from the transcript, and the authority is the commit itself: it carries the Hanzo-Session:/Hanzo-Turn: trailer, or a note under refs/notes/hanzo-provenance saying the same, so the claim is checkable at source with the command in verify.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
kind ↔ String?
Kind is what the turn was, from the log's closed six: message, tool-call, spawn, log, status, control. A deploy arrives as a status turn.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subject ↔ String?
Subject is that commit's subject line, from the same transcript, so a reader sees what the commit says without fetching the repository.
getter/setter pair
turn ↔ int?
Seq is this turn's POSITION in the session's log — monotonic from 1, per session — and it is what a commit's Hanzo-Turn: trailer names. It is not a count of anything: the count is turns on the summary beside it.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → BuildTurn?
Returns a new BuildTurn instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<BuildTurn>
mapFromJson(dynamic json) → Map<String, BuildTurn>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<BuildTurn>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.