EncounterConditionValue.fromJson constructor
Implementation
EncounterConditionValue.fromJson(Map<String, dynamic> json) {
condition = json['condition'] != null
? NamedAPIResource.fromJson(json['condition'])
: null;
if (json['names'] != null) {
names = <EncounterConditionValueName>[];
(json['names'] as List).forEach((v) {
names!.add( EncounterConditionValueName.fromJson(v));
});
}
name = json['name'];
id = json['id'];
}