LocationAreaEncounterMethodRate.fromJson constructor
LocationAreaEncounterMethodRate.fromJson(
- Map<String, dynamic> json
)
Implementation
LocationAreaEncounterMethodRate.fromJson(Map<String, dynamic> json) {
if (json['version_details'] != null) {
versionDetails = <LocationAreaEncounterMethodRatesVersionDetail>[];
(json['version_details'] as List).forEach((v) {
versionDetails!
.add(LocationAreaEncounterMethodRatesVersionDetail.fromJson(v));
});
}
encounterMethod = json['encounter_method'] != null
? NamedAPIResource.fromJson(json['encounter_method'])
: null;
}