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