How can i get the last document name and data. I tried to get data ,it gives the document.datawithout reference
document.data
val last_doc=db.collection(&q