RiskAppetiteIn class

Constructors

RiskAppetiteIn({bool? live, num? review, num? sample})
Returns a new RiskAppetiteIn instance.

Properties

hashCode → int
The hash code for this object.
no setteroverride
live ↔ bool?
Live turns the model out of shadow. It defaults to FALSE on every call, so going live is always an explicit act and never a side effect of changing a number. Setting it requires an ADMIN of this organisation. Arming decides whether the model may change an outcome at all — a payment frozen, a grant refused — for every customer this organisation has, which is a governance act rather than a tuning one. Stating the appetite and the sample needs no admin.
getter/setter pair
review ↔ num?
Review is the share of the stream that may be sent for examination, in (0, 0.5]. The alert threshold is derived from it as a quantile of the scores actually observed, so the level is governed rather than tuned.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sample ↔ num?
Sample is the share of below-the-line events retained for review, in 0, 1. It is the instrument that measures what the model missed; there are no labels, so nothing else can.
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) → RiskAppetiteIn?
Returns a new RiskAppetiteIn instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<RiskAppetiteIn>
mapFromJson(dynamic json) → Map<String, RiskAppetiteIn>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<RiskAppetiteIn>>

Constants

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