RiskLabelEvent class

Constructors

RiskLabelEvent({String? at, String? kind, String? subject})
Returns a new RiskLabelEvent instance.

Properties

at ↔ String?
At is the event's own instant, RFC 3339. It is part of the event's IDENTITY and not a filter: it is matched exactly, to the second, against the at the assertions were filed under, so an instant a second off names a different event and resolves to nothing. It is also what this event's as-of is measured from — At plus the horizon.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
kind ↔ String?
Kind is the judged entity's type, from the closed set: account, agent, merchant, payout, person, session or transaction. One outside it is refused rather than answered unlabelled, because it could only ever match nothing and the caller would read a real absence into a typo.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subject ↔ String?
Subject is the entity id in the tenant's own namespace, at most 512 bytes. It is matched EXACTLY against what was recorded — this is a lookup, not a search, and no prefix, pattern or normalisation is applied.
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) → RiskLabelEvent?
Returns a new RiskLabelEvent instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<RiskLabelEvent>
mapFromJson(dynamic json) → Map<String, RiskLabelEvent>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<RiskLabelEvent>>

Constants

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