discontinuedPackage firebase has been discontinued and replaced by firebase_core.

id property

String get id

The document's identifier within its collection.

Implementation

String get id => jsObject.id;