parent property
CollectionReference
get
parent
Non-null CollectionReference. The Collection this DocumentReference belongs to.
Implementation
CollectionReference get parent =>
CollectionReference.getInstance(jsObject.parent);