toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (customLocalAqis != null) 'customLocalAqis': customLocalAqis!,
      if (extraComputations != null) 'extraComputations': extraComputations!,
      if (languageCode != null) 'languageCode': languageCode!,
      if (location != null) 'location': location!,
      if (uaqiColorPalette != null) 'uaqiColorPalette': uaqiColorPalette!,
      if (universalAqi != null) 'universalAqi': universalAqi!,
    };