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