ReportRunIn class

Constructors

ReportRunIn({String? branch, bool? changed, String? commitSha, String? diffstat, String? error, String? id, bool? ok, String? runId})
Returns a new ReportRunIn instance.

Properties

branch ↔ String?
Branch, CommitSha and Diffstat describe what the run produced; Error is the failure when OK is false. Each is clamped, never rejected.
getter/setter pair
changed ↔ bool?
Changed says whether the run produced any commit. It is INDEPENDENT of OK: a run can succeed and change nothing (there was nothing to do), and a run can fail after committing some of its work. Two questions, two booleans.
getter/setter pair
commitSha ↔ String?
CommitSha is the tip the run pushed, clamped to 128 characters. Empty when it pushed nothing, which is the same case Changed reports false for.
getter/setter pair
diffstat ↔ String?
Diffstat is the run's own summary of what it changed, as text, clamped to 64 KiB. Free-form: it is shown, never parsed.
getter/setter pair
error ↔ String?
Error is why the run failed, clamped to 64 KiB. It is CLAMPED rather than refused — a truncated reason is worth more than a rejected report, because a rejected report leaves the durable workflow waiting forever.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
ID is the machine reporting, from the path.
getter/setter pair
ok ↔ bool?
OK is whether the run succeeded; Changed whether it produced any commit.
getter/setter pair
runId ↔ String?
RunID is the routed run being completed, from the path.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

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