错误:没有名为'queryBuilder'的命名参数。 queryBuilder:job!= null? (query)=> query.where('jobId',isEqualTo:job.id):null,
Stream<List<Entry>> entriesStream({Job job}) => _service.collectionStream<Entry>(
path: APIpath.entries(uid),
queryBuilder: job != null ? (query) => query.where('jobId', isEqualTo: job.id) : null,
builder: (data, documentID) => Entry.fromMap(data, documentID),
sort: (lhs, rhs) => rhs.start.compareTo(lhs.start),
);