RiskDatasetRow class

Constructors

RiskDatasetRow({String? at, String? id, String? kind, List<num> point = const [], String? split, String? subject})
Returns a new RiskDatasetRow instance.

Properties

at ↔ String?
At is the row's instant.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
ID names the row forever. It is DERIVED from the row's own subject and instant, not allocated, so two materialisations of the same fact agree on it without coordinating.
getter/setter pair
kind ↔ String?
Kind is the subject kind: person, session or account.
getter/setter pair
point ↔ List<num>
Point is the coordinates, in the order the version's spec names its dims.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
split ↔ String?
Split is train, val or test.
getter/setter pair
subject ↔ String?
Subject is the identity within that kind — whose row this is. Every row of one subject is in ONE split, decided by that subject's earliest instant, so a subject is never on both sides of a cut.
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) → RiskDatasetRow?
Returns a new RiskDatasetRow instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<RiskDatasetRow>
mapFromJson(dynamic json) → Map<String, RiskDatasetRow>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<RiskDatasetRow>>

Constants

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