RiskResolved class

Constructors

RiskResolved({String? asOf, String? at, String? by, num? confidence, List<RiskLabelRecord> conflicts = const [], bool? contested, String? disposition, String? evidence, String? id, String? kind, String? source_, String? subject})
Returns a new RiskResolved instance.

Properties

asOf ↔ String?
AsOf is the instant this answer was true at: the event time plus the horizon. Nothing seen after it was visible to this resolution.
getter/setter pair
at ↔ String?
At is the event's instant, RFC 3339, echoed. It is what the horizon is measured from, so At plus the horizon is AsOf.
getter/setter pair
by ↔ String?
By is the identity that filed the WINNING assertion, <home org>/<user>, stamped server-side from the validated principal at the write and never taken from a body — an attribution the caller chose is not attribution. It is the winner's alone; every losing assertion keeps its own and is returned whole in Conflicts.
getter/setter pair
confidence ↔ num?
Confidence is the winning assertion's own confidence in 0,1, zero when its filer stated none. It is reported because it is a term of the rule that picked the winner, and it is the weakest term but one: it breaks a tie inside one rank and never lifts a weak source above a strong one.
getter/setter pair
conflicts ↔ List<RiskLabelRecord>
Conflicts is every other visible assertion, strongest first, whole. They are kept and returned rather than dropped, so an adverse action can show that the plane knew of a contrary claim and say why it lost. They are horizon-filtered exactly like the winner: an assertion that was not knowable yet cannot even be named here, because naming it would leak its existence into a past decision.
getter/setter pair
contested ↔ bool?
Contested is true when a visible assertion claimed a DIFFERENT disposition. Two sources agreeing is corroboration, not conflict.
getter/setter pair
disposition ↔ String?
Disposition is the claim IN FORCE at AsOf: productive, unproductive, or the empty string for an explicit unjudged. It is the winning assertion's own claim, never a vote or an average — an average of two adjudications is a third claim nobody made. A matured event nobody judged is not answered here at all; it is counted in Unlabelled, because manufacturing a negative there is how a fraud model comes to describe the incumbent block list.
getter/setter pair
evidence ↔ String?
Evidence is the winning assertion's pointer to the record behind it — the dispute, case or decision id it was filed with, opaque and verbatim. It travels with the answer so an adverse action can name what judged the subject without a second read.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
ID is the winning assertion's content digest, so this answer traces to the exact record it came from — and that record can be placed under litigation hold by naming this id.
getter/setter pair
kind ↔ String?
Kind is the judged entity's type, echoed from the event that was named. With Subject and At it is how a caller joins this answer back onto the training row or the decision it asked about.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source_ ↔ String?
Source is who filed the winning assertion, and it is the PRIMARY term of the rule that picked it. Sources rank by adjudication weight — chargeoff, dispute, case, refund, review, sample, strongest first — and only inside one rank do the tie-breaks run, in order: the assertion that became KNOWABLE latest, then the higher confidence, then the lower id. The vocabulary op publishes that order from the same declaration the resolver reads, so a caller holding a contested answer can reproduce it.
getter/setter pair
subject ↔ String?
Subject is the entity id, echoed from the event that was named — the tenant's own key, returned verbatim.
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) → RiskResolved?
Returns a new RiskResolved instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<RiskResolved>
mapFromJson(dynamic json) → Map<String, RiskResolved>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<RiskResolved>>

Constants

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