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