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