discontinuedPackage dart_firebase_admin has been discontinued and replaced by firebase_admin_sdk.

documentId property

FieldPath documentId
final

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

Implementation

static final documentId = FieldPath(const <String>['__name__']);