listFromJson static method
Implementation
static List<ReportLinksCategory> listFromJson(List<dynamic>? json) {
if (json == null) {
return <ReportLinksCategory>[];
}
return json.fold(<ReportLinksCategory>[],
(List<ReportLinksCategory> previousValue, element) {
final ReportLinksCategory? object = ReportLinksCategory.fromJson(element);
if (object is ReportLinksCategory) {
previousValue.add(object);
}
return previousValue;
});
}