parent property

CollectionReference<T> get parent

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,
  );
}