Board class
Constructors
-
Board({List<
ModelStat> byModel = const [], LatencyStat? latency, ModelStat? other, BoardRange? range, BoardScope? scope, List<BoardPoint> series = const [], BoardTotals? totals}) - Returns a new Board instance.
Properties
-
byModel
↔ List<
ModelStat> -
the top models by spend
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- latency ↔ LatencyStat?
-
overall latency percentiles from the GenAI spans
getter/setter pair
- other ↔ ModelStat?
-
the long tail beyond the top models, folded into one row
getter/setter pair
- range ↔ BoardRange?
-
the window they were computed over, echoed back
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope ↔ BoardScope?
-
whose numbers these are
getter/setter pair
-
series
↔ List<
BoardPoint> -
one gap-filled bucket per interval, so a chart never breaks
getter/setter pair
- totals ↔ BoardTotals?
-
the window's headline numbers
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) → Board? -
Returns a new Board instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< Board> -
mapFromJson(
dynamic json) → Map< String, Board> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< Board> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.