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