ClaimRow class

Constructors

ClaimRow({DateTime? at, String? benchmark, String? by, String? model, String? origin, String? protocol, String? provider, num? score, String? source_})
Returns a new ClaimRow instance.

Properties

at ↔ DateTime?
At is when a stored row was recorded. Zero for a seed row.
getter/setter pair
benchmark ↔ String?
Benchmark is the canonical test id the claim is about, from /catalog.
getter/setter pair
by ↔ String?
By is who recorded it, when the caller said.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
model ↔ String?
Model is the system the score is claimed for.
getter/setter pair
origin ↔ String?
Origin is "seed" for a compiled row and "stored" for one written through this surface. It is the difference between what we shipped and what an operator has since corrected.
getter/setter pair
protocol ↔ String?
Protocol records HOW it was scored — provider-reported, agentic, third-party-leaderboard — so a provider card is never read as a measurement.
getter/setter pair
provider ↔ String?
Provider is who the claim belongs to — the lab or leaderboard whose number this is.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
score ↔ num?
Score is the reported aggregate, as a percentage.
getter/setter pair
source_ ↔ String?
Source is the citation the row was read from.
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) → ClaimRow?
Returns a new ClaimRow instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ClaimRow>
mapFromJson(dynamic json) → Map<String, ClaimRow>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ClaimRow>>

Constants

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