mapFromJson static method
Implementation
static Map<String, PlaceLinksGeoIriTemplate> mapFromJson(
Map<String, dynamic>? json) {
if (json == null) {
return <String, PlaceLinksGeoIriTemplate>{};
}
return json.entries.fold(<String, PlaceLinksGeoIriTemplate>{},
(Map<String, PlaceLinksGeoIriTemplate> previousValue, element) {
final PlaceLinksGeoIriTemplate? object =
PlaceLinksGeoIriTemplate.fromJson(element.value);
if (object is PlaceLinksGeoIriTemplate) {
previousValue[element.key] = object;
}
return previousValue;
});
}