RiskLabelRecord class

Constructors

RiskLabelRecord({String? at, String? by, num? confidence, String? disposition, String? evidence, bool? hold, String? id, String? kind, String? knowable, String? seen, String? source_, String? subject, String? wrote})
Returns a new RiskLabelRecord instance.

Properties

at ↔ String?
At is when the judged EVENT happened, RFC 3339 in UTC, truncated to the second. The filer supplies it, and it is what a maturity horizon measures from: this event's as-of is At plus the horizon. A resolve names it back exactly, to the second.
getter/setter pair
by ↔ String?
By is the identity that asserted, stamped server-side at the write.
getter/setter pair
confidence ↔ num?
Confidence is the filer's own confidence in 0,1 — 1 for a processor chargeback, less for an analyst's hunch. Zero is the ordinary value for a filer that stated none, and it means the weakest tie-break there is rather than "unknown". It breaks a tie only WITHIN one precedence rank and can never lift a weak source above a strong one.
getter/setter pair
disposition ↔ String?
Disposition is what was concluded, from the closed set: productive — the event led somewhere, escalated, reported or charged back; unproductive — judged not suspicious; or the empty string for an explicit UNJUDGED, which is a real assertion ("we looked and could not say") and not the absence of one.
getter/setter pair
evidence ↔ String?
Evidence is the pointer to the record this conclusion came from: a dispute id, a case id, a decision id. At most 512 bytes, required at the write, and opaque to this plane — stored and returned verbatim, never resolved. It is what an adverse action is defended with, which is why an assertion carrying none is refused at the endpoint.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
hold ↔ bool?
Hold is true while a litigation hold is on this record: retention will not dispose of it, at any age. False — and it is omitted then — leaves the record disposable once it is older than the boundary a sweep names. It is a fact about the RECORD and not about the world, so it is not folded into ID, no write path can set it, and the hold op is the one way it moves in either direction.
getter/setter pair
id ↔ String?
ID is the assertion's content digest — SHA-256 over every semantic field, rendered hex — computed server-side and never supplied. It is the key a redelivery collapses onto, and it is the id the hold op names.
getter/setter pair
kind ↔ String?
Kind is what the subject IS, from the closed set: account, agent, merchant, payout, person, session or transaction. With Subject and At it is the IDENTITY of the judged event — the triple a resolve names and the triple assertions are grouped by, so a typo in it would file a label against an event nobody asks about.
getter/setter pair
knowable ↔ String?
Knowable is when THIS PLANE could first have answered with the assertion: the later of Seen and the server clock at the write, derived server-side. It is the instant the leakage guard compares, so it is published beside the claim it was derived from — an answer whose rule nobody can see is one nobody can check.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
seen ↔ String?
Seen is when the FILER said the assertion became knowable. It is provenance: it is recorded and published, and it decides nothing.
getter/setter pair
source_ ↔ String?
Source is WHO asserted, from the closed set: chargeoff, dispute, case, refund, review or sample. It is the primary term of the precedence rule — an unknown source has no rank and a conflict with it could not be resolved — so it is what decides which of two disagreeing assertions is in force.
getter/setter pair
subject ↔ String?
Subject is the entity that was judged, named in the TENANT'S OWN namespace and at most 512 bytes. It is opaque here: stored, matched and returned verbatim, never dereferenced. It has no meaning outside this tenant — the record is the tenant's own file — so an id lifted from another tenant's response names nothing.
getter/setter pair
wrote ↔ String?
Wrote is the server clock at the write. It is the only time on the record the tenant did not supply, and it is what retention measures against.
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) → RiskLabelRecord?
Returns a new RiskLabelRecord instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<RiskLabelRecord>
mapFromJson(dynamic json) → Map<String, RiskLabelRecord>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<RiskLabelRecord>>

Constants

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