id property

String id

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

Implementation

String get id => ref.id;