CodingStarted class

Constructors

CodingStarted({String? branch, String? repo, bool? routed, String? sessionId, String? targetId})
Returns a new CodingStarted instance.

Properties

branch ↔ String?
Branch is the ref the run will push its work to, and the ONLY ref it is permitted to write. It exists before the work does, so it is safe to tell somebody where to look while the run is still going.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
repo ↔ String?
Repo is the repository the run was admitted against, echoed back as the engine resolved it.
getter/setter pair
routed ↔ bool?
Routed says the run went to one of the org's own registered machines rather than to a sandbox in our cluster. False is the ordinary case.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sessionId ↔ String?
SessionID is the run's handle: its durable record, and the id its live progress streams under at /v1/agents/sessions/{sessionId}/stream. Every later question about this run is asked with it.
getter/setter pair
targetId ↔ String?
TargetID names that machine when Routed is true, and is empty otherwise.
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) → CodingStarted?
Returns a new CodingStarted instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<CodingStarted>
mapFromJson(dynamic json) → Map<String, CodingStarted>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<CodingStarted>>

Constants

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