RiskLineage class

Constructors

RiskLineage({String? dataset, String? digest, String? from, int? holds, int? oversize, String? refusal, bool? reproducible, String? retention, int? rows, int? share, String? source_, int? subjects, String? to, int? version})
Returns a new RiskLineage instance.

Properties

dataset ↔ String?
Dataset is the dataset traced.
getter/setter pair
digest ↔ String?
Digest is the version's fingerprint, repeated here so a lineage answer is self-contained.
getter/setter pair
from ↔ String?
From is where the window actually read opens, RFC 3339. Same as the spec's.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
holds ↔ int?
Holds is what the source holds for the same window NOW. The difference between it and Rows is the whole of the reproducibility claim.
getter/setter pair
oversize ↔ int?
Oversize is how many subjects the window held that were too large to represent when this version was built. It is part of the fingerprint, so it is part of what "reproducible" is measured over.
getter/setter pair
refusal ↔ String?
Refusal says which way it failed — the window expired, or the source now holds a different count. Absent when Reproducible is true.
getter/setter pair
reproducible ↔ bool?
Reproducible is true when the source still holds what this version was built from — measured by asking it again, not recalled. False is ordinary: the source is fed by a rollup that runs behind the events, so "it holds more now" is the common case and it means re-running the spec would not produce this version.
getter/setter pair
retention ↔ String?
Retention is the source's own expiry rule as the store reports it, read at materialisation time rather than assumed. A source whose retention is shorter than this window cannot re-derive it.
getter/setter pair
rows ↔ int?
Rows is how many rows the source held for that window at materialisation time. Holds is the same question asked now, and the difference between them is the whole of the reproducibility claim.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
share ↔ int?
Share is the fraction of subjects admitted, in thousandths.
getter/setter pair
source_ ↔ String?
Source is the plane the rows were derived from.
getter/setter pair
subjects ↔ int?
Subjects is how many distinct subjects those rows belonged to. It is the real sample size — the row count flatters it whenever a subject is active.
getter/setter pair
to ↔ String?
To is where it ends: the spec's own end pulled BACK by the maturity horizon, so it is usually earlier than the spec says. This is the window a reproduction has to ask for — asking the spec's would not return these rows.
getter/setter pair
version ↔ int?
Version is the version traced — the one asked for, or the newest published one when the request named none.
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) → RiskLineage?
Returns a new RiskLineage instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<RiskLineage>
mapFromJson(dynamic json) → Map<String, RiskLineage>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<RiskLineage>>

Constants

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