BuildSummary class

Constructors

BuildSummary({String? agent, String? endedAt, String? org, String? project, String? repo, String? session, String? startedAt, String? status, String? title, int? turns})
Returns a new BuildSummary instance.

Properties

agent ↔ String?
Agent is the label the surface that did the work calls itself by.
getter/setter pair
endedAt ↔ String?
EndedAt is when it finished, same format. Empty means it is still going.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
org ↔ String?
Org and Project are the build's public ADDRESS — the pair the full story is read at, and the pair a visitor sees in the URL bar. Not a tenant key: this index is anonymous and lists only what authors published.
getter/setter pair
project ↔ String?
Project is the product's slug, the second half of that address.
getter/setter pair
repo ↔ String?
Repo is the repository the work was done in, as the session reported it.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
session ↔ String?
Session is the agent session behind the build, and the value its commits name in their Hanzo-Session: trailer.
getter/setter pair
startedAt ↔ String?
StartedAt is when the session opened, RFC 3339 in UTC.
getter/setter pair
status ↔ String?
Status is the session's own: running, paused, done or error — so a card can show a build still being written.
getter/setter pair
title ↔ String?
Title is the human line for the card. Sent even when empty, like every field here, because that is what this route has always sent.
getter/setter pair
turns ↔ int?
Turns is HOW MANY turns the transcript holds — a COUNT, unlike the turn on each turn of the full story, which is that turn's position. The full read returns at most 1000 of them; this number is not capped.
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) → BuildSummary?
Returns a new BuildSummary instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<BuildSummary>
mapFromJson(dynamic json) → Map<String, BuildSummary>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<BuildSummary>>

Constants

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