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