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