getAsQuery method
Implementation
Future<QuerySnapshot<T>> getAsQuery() {
DocumentSnapshot<T>? old;
return get().then((value) {
final res = DocumentsToQuerySnapshot({
DocumentSnapshotPair(
current: value,
old: old,
)
});
old = value;
return res;
});
}