toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  "weather": weather,
  "clouds": clouds,
  "time": time,
  "sportsYouCanDo": sportsYouCanDo?.map((item) => item.toJson()).toList(),
  "anyMap": anyMap?.map((item) => item.toJson()).toList(),
};