parent property
DocumentReference
get
parent
Nullable reference to the containing DocumentReference if this is
a subcollection. If this isn't a subcollection, the reference is null
.
Implementation
DocumentReference get parent =>
DocumentReference.getInstance(jsObject.parent);