firestore property

FirebaseFirestore firestore

Returns either the custom set FirebaseFirestore reference, or the default instance if one has not been set.

Implementation

static FirebaseFirestore get firestore =>
    _firestore ?? FirebaseFirestore.instance;
void firestore=(FirebaseFirestore firestore)

Sets the custom FirebaseFirestore reference for the test steps to use. Set to null to use the default reference.

Implementation

static set firestore(FirebaseFirestore firestore) => _firestore = firestore;