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