parent property

A reference to the collection to which this DocumentReference belongs.

Implementation

CollectionReference<T> get parent {
  return CollectionReference<T>._(
    firestore: firestore,
    path: _path._parent()!,
    converter: _converter,
  );
}