Pollutant.fromJson constructor
Pollutant.fromJson(
- Map json_
Implementation
Pollutant.fromJson(core.Map json_)
: this(
additionalInfo: json_.containsKey('additionalInfo')
? AdditionalInfo.fromJson(json_['additionalInfo']
as core.Map<core.String, core.dynamic>)
: null,
code: json_.containsKey('code') ? json_['code'] as core.String : null,
concentration: json_.containsKey('concentration')
? Concentration.fromJson(
json_['concentration'] as core.Map<core.String, core.dynamic>)
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
fullName: json_.containsKey('fullName')
? json_['fullName'] as core.String
: null,
);