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