id property

String get id

The id of the collection: the last segment of its path.

Implementation

String get id => query.path.last;