parent property

DocumentReference? get parent

A reference to the containing Document if this is a subcollection, else null.

Implementation

external DocumentReference? get parent;