BuildRow class

Constructors

BuildRow({String? commit, String? duration, String? id, String? repo, String? startedAt, String? status})
Returns a new BuildRow instance.

Properties

commit ↔ String?
Commit is the short git ref the build pinned.
getter/setter pair
duration ↔ String?
Duration is the wall time of a TERMINAL build; empty while it still runs.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
ID is the build record's id.
getter/setter pair
repo ↔ String?
Repo is the repo the build built, or the image it produced.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startedAt ↔ String?
StartedAt is when the build was recorded, RFC3339 UTC.
getter/setter pair
status ↔ String?
Status is the build's real state: queued, building, succeeded or failed.
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) → BuildRow?
Returns a new BuildRow instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<BuildRow>
mapFromJson(dynamic json) → Map<String, BuildRow>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<BuildRow>>

Constants

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