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