StatData class
One KPI card. value is always a string — the panel owns formatting (currency, percentages, thousands separators) and the phone must not re-derive or re-format it from a raw number.
Constructors
Properties
-
chart
→ List<
double> ? -
The sparkline's data points, or null when the server sent none. An
empty list is a chart with zero points this period — a normal state
the sparkline draws as nothing — not a stand-in for "no chart".
final
- color → String?
-
A semantic colour name (
success,danger, …) — the same vocabularyRecordAction.coloruses.final - description → String?
-
final
- descriptionIcon → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → String
-
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- resourceKey → String?
-
The mobile resource this stat's web
->url()points at, published by the server only when that URL is an opted-in resource's own index. Null for every other URL — external, unopted, custom page — and for a stat with no URL at all: half a target is worse than none.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true, thetoStringmethod will be overridden to output this instance'sprops.no setterinherited - value → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited