TeamYearStats class
Represents a team's statistics for a specific year.
Constructors
-
TeamYearStats({required int teamNumber, required int year, required int wins, required int losses, required Map<
String, dynamic> breakdown}) - Constructs a TeamYearStats instance with the specified properties.
-
TeamYearStats.fromJson(Map<
String, dynamic> json) -
Creates a TeamYearStats instance from a JSON Map.
factory
Properties
-
breakdown
→ Map<
String, dynamic> -
A breakdown of the team's EPA (Expected Points Added) data.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- losses → int
-
The number of losses in the season.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- teamNumber → int
-
The team number.
final
- wins → int
-
The number of wins in the season.
final
- year → int
-
The year for which these statistics apply.
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