FireStoreCollection constructor

FireStoreCollection(
  1. String path
)

Implementation

FireStoreCollection(String path) {
  _auth = FirebaseAuth.instance;
  _user = _auth.currentUser;
  _store = FirebaseFirestore.instance;
  _collection = _store.collection(path);
}