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