DeployRecord class

Constructors

DeployRecord({bool? created, int? createdAt, String? deployId, String? reason, bool? recorded, bool? self})
Returns a new DeployRecord instance.

Properties

created ↔ bool?
Created reports whether this call recorded a new attribution edge (201) or found an existing one (200). Absent when nothing was recorded.
getter/setter pair
createdAt ↔ int?
CreatedAt is when the edge was first recorded, in unix seconds. Absent when nothing was recorded.
getter/setter pair
deployId ↔ String?
DeployID is the attribution edge's handle. Absent when nothing was recorded.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
reason ↔ String?
Reason says why nothing was attributed. Present only when recorded is false.
getter/setter pair
recorded ↔ bool?
Recorded reports whether the deploy was attributed to an author at all. False is the ordinary answer for a project built from no repository, or from one no author has verified — never an error, so a deploy path can fire this unconditionally.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
self ↔ bool?
Self reports that the deploying org IS the author's org. Such a deploy is recorded for provenance but excluded from accrual. Absent when nothing was recorded.
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) → DeployRecord?
Returns a new DeployRecord instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<DeployRecord>
mapFromJson(dynamic json) → Map<String, DeployRecord>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<DeployRecord>>

Constants

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