title: How do I get the document ID for a Firestore document using kotlin data classes
body: <p>I have kotlin data class </p>
  
  <pre><code>data class Client(
  
      val name: String = "",
      val email: String = "",
      val phone: String ="") {
  constructor():this("","","")}
  </code></pre>
  
  <p>I have firestore populate the data into the class just fine, however I am at a loss trying to figure out how to get the document id into the data class without having to set it in the document itself. Is this possible? </p>