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