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