toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'code'] = this.code;
  if (this.season != null) {
    json[r'season'] = this.season;
  } else {
    json[r'season'] = null;
  }
  json[r'description'] = this.description;
  json[r'conditions'] = this.conditions;
  return json;
}