get method

Future<QuerySnapshot> get([
  1. GetOptions? options
])

Fetch the documents for this query.

To modify how the query is fetched, the options parameter can be provided with a GetOptions instance.

Implementation

Future<QuerySnapshot> get([GetOptions? options]) async {
  QuerySnapshotPlatform snapshotDelegate =
      await _delegate.get(options ?? const GetOptions());
  return QuerySnapshot._(firestore, snapshotDelegate);
}