id property

String get id

The ID of the document for which this DocumentSnapshot contains data.

Implementation

String get id => ref.id;