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