BuildView class

Constructors

BuildView({String? agent, String? endedAt, String? model, String? org, String? project, String? repo, String? session, String? startedAt, String? status, String? title, List<BuildTurn> turns = const [], String? verify})
Returns a new BuildView 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 has not — the build is still going.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
model ↔ String?
Model is the model that did the work, taken from the FIRST turn whose body names one — a transcript states it, this route does not resolve it. Empty when no turn said.
getter/setter pair
org ↔ String?
Org is the org that published this build, echoed from the URL. It is part of the build's public ADDRESS and not a tenant key — this route is anonymous, and the only rows it can reach are ones an author explicitly published.
getter/setter pair
project ↔ String?
Project is the product's slug, the other 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 id of the agent session this story IS — the same value a produced commit carries in its Hanzo-Session: trailer, which is what ties the repository's history to this page.
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. A build can be read while it is still being written, so this is not always terminal — and an error build is still a readable story, not a missing page.
getter/setter pair
title ↔ String?
Title is the human line the session was opened or renamed with. Empty when nobody gave it one.
getter/setter pair
turns ↔ List<BuildTurn>
Turns is the whole transcript, oldest first, capped at 1000: a published build is a story to read down, not an archive to page.
getter/setter pair
verify ↔ String?
Verify is the exact command that re-derives every commit binding below straight from git, so nothing here has to be taken on trust.
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) → BuildView?
Returns a new BuildView instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<BuildView>
mapFromJson(dynamic json) → Map<String, BuildView>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<BuildView>>

Constants

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