RiskCause class

Constructors

RiskCause({num? baseline, String? citation, String? feature, String? indicator, num? observed, String? severity, num? share, String? typology, String? unit, num? without})
Returns a new RiskCause instance.

Properties

baseline ↔ num?
Baseline is the number it was measured against — always this organisation's own history, never a fixed limit and never another organisation's.
getter/setter pair
citation ↔ String?
Citation is where those words come from, so the claim is checkable rather than asserted — which is what a chargeback network or a regulator asks for.
getter/setter pair
feature ↔ String?
Feature is the dimension that contributed.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
indicator ↔ String?
Indicator is the supervisor's own words for the thing being looked for.
getter/setter pair
observed ↔ num?
Observed is the raw number the coordinate was computed from.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
severity ↔ String?
Severity is how much weight this dimension carries.
getter/setter pair
share ↔ num?
Share is this feature's part of the score, in 0,1. Zero across every cause means no single feature accounts for the alert and the combination does; the causes are then ordered by how far each sits from unremarkable.
getter/setter pair
typology ↔ String?
Typology is the laundering or abuse pattern this dimension detects.
getter/setter pair
unit ↔ String?
Unit is how to read Observed, which is what turns a coordinate into a sentence.
getter/setter pair
without ↔ num?
Without is the score the same event would have received with this coordinate at its neutral value — the counterfactual itself.
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) → RiskCause?
Returns a new RiskCause instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<RiskCause>
mapFromJson(dynamic json) → Map<String, RiskCause>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<RiskCause>>

Constants

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