YearStats class
Represents statistical data for a specific year.
Constructors
-
YearStats({required int year, required double scoreMean, required double scoreSd, required Map<
String, Map< percentiles, required Map<String, dynamic> >String, dynamic> breakdown, required Metrics metrics}) - Constructs a YearStats instance with the specified properties.
-
YearStats.fromJson(Map<
String, dynamic> json) -
Creates a YearStats instance from a JSON Map.
factory
Properties
-
breakdown
→ Map<
String, dynamic> -
A breakdown of various metrics for the year.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- metrics → Metrics
-
Additional performance metrics for the year.
final
-
percentiles
→ Map<
String, Map< String, dynamic> > -
A map of percentiles categorized by various metrics.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scoreMean → double
-
The mean score for the year.
final
- scoreSd → double
-
The standard deviation of the scores for the year.
final
- year → int
-
The year of the statistics.
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