RiskPolicyVersion class
Constructors
- RiskPolicyVersion({String? at, String? by, bool? live, num? review, num? sample, int? version})
- Returns a new RiskPolicyVersion instance.
Properties
- at ↔ String?
-
At is when it entered force, RFC 3339, from the server clock.
getter/setter pair
- by ↔ String?
-
By is the identity that stated it, stamped server-side from the validated principal at the moment it entered force.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- live ↔ bool?
-
Live is whether the model was permitted to change an outcome under it.
getter/setter pair
- review ↔ num?
-
Review is the share of the stream the regime states may be examined. The threshold in force is derived from it, which is why a decision is only defensible against the version that produced it.
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 the regime retains for review.
getter/setter pair
- version ↔ int?
-
Version names this regime in this organisation's history.
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) → RiskPolicyVersion? -
Returns a new RiskPolicyVersion instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< RiskPolicyVersion> -
mapFromJson(
dynamic json) → Map< String, RiskPolicyVersion> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< RiskPolicyVersion> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.