doc property

DocumentReference<Object?> get doc

A new document

Implementation

DocumentReference get doc => collection.doc();