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