get method

Future<QuerySnapshot<T>> get()

Executes the query and returns the results as a QuerySnapshot.

final query = firestore.collection('col').where('foo', WhereFilter.equal, 'bar');

query.get().then((querySnapshot) {
  querySnapshot.forEach((documentSnapshot) {
    print('Found document at ${documentSnapshot.ref.path}');
  });
});

Implementation

Future<QuerySnapshot<T>> get() => _get(transactionId: null);