toJson method

Map<String, dynamic> toJson()

Converts the Record instance to a JSON Map.

Implementation

Map<String, dynamic> toJson() {
  return {
    'season': season.toJson(),
    'full': full.toJson(),
  };
}