toJson method

Map<String, dynamic> toJson()

Implementation

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