discontinuedPackage firebase has been discontinued and replaced by firebase_core.

id property

String get id

The collection's identifier.

Implementation

String get id => jsObject.id;