documentId static method

FieldPath documentId()

Returns a special sentinel FieldPath to refer to the ID of a document. It can be used in queries to sort or filter by the document ID.

Implementation

external static FieldPath documentId();