title: How to retrieve the last document in a firebase collection. I would also like to get the document fields value
body: <p>How to retrieve the last document from a Cloud Firestore collection? I would also like to get the document fields value.</p>
  
  <p>Here this the image below:</p>
  
  <p><a href="https://i.stack.imgur.com/bBu3w.png" rel="noreferrer"><img src="https://i.stack.imgur.com/bBu3w.png" alt="enter image description here"></a></p>