getAllDocs<T> method
get all documents in this collection
Implementation
Future<List<FireDocTuple<T>>> getAllDocs<T>({
T Function(Map<String, dynamic>)? cast,
}) async {
final querySs = await _reference.get();
return querySs.docs
.map(
(e) => FireDocTuple<T>(
e,
cast ?? (d) => d as T,
),
)
.toList();
}