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