PublishedClaim class

Constructors

PublishedClaim({String? benchmark, String? model, String? protocol, String? provider, num? score, String? source_})
Returns a new PublishedClaim instance.

Properties

benchmark ↔ String?
Benchmark is the canonical test id the claim is about, from /catalog.
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
protocol ↔ String?
Protocol records HOW it was scored — provider-reported, agentic, third-party-leaderboard — because a provider card and a third party running its own harness are different kinds of number and must not be blended.
getter/setter pair
provider ↔ String?
Provider is who the claim belongs to — the lab or leaderboard whose number this is. It joins a claim to the attempts measured for that same model.
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. A claim without one is a number nobody can check, so every write requires it.
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) → PublishedClaim?
Returns a new PublishedClaim instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<PublishedClaim>
mapFromJson(dynamic json) → Map<String, PublishedClaim>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<PublishedClaim>>

Constants

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