getDocuments method
Implementation
Future<List<D>> getDocuments([QueryBuilder? queryBuilder]) async {
final snapshots = await getSnapshots(queryBuilder);
return snapshots.docs
.map((snap) => decode(snap, docRef(snap.reference)))
.toList();
}