HealthRecommendations.fromJson constructor

HealthRecommendations.fromJson(
  1. Map json_
)

Implementation

HealthRecommendations.fromJson(core.Map json_)
    : this(
        athletes: json_.containsKey('athletes')
            ? json_['athletes'] as core.String
            : null,
        children: json_.containsKey('children')
            ? json_['children'] as core.String
            : null,
        elderly: json_.containsKey('elderly')
            ? json_['elderly'] as core.String
            : null,
        generalPopulation: json_.containsKey('generalPopulation')
            ? json_['generalPopulation'] as core.String
            : null,
        heartDiseasePopulation: json_.containsKey('heartDiseasePopulation')
            ? json_['heartDiseasePopulation'] as core.String
            : null,
        lungDiseasePopulation: json_.containsKey('lungDiseasePopulation')
            ? json_['lungDiseasePopulation'] as core.String
            : null,
        pregnantWomen: json_.containsKey('pregnantWomen')
            ? json_['pregnantWomen'] as core.String
            : null,
      );