ktx / com.google.firebase.firestore.ktx / com.google.firebase.firestore.QueryDocumentSnapshot

Extensions for com.google.firebase.firestore.QueryDocumentSnapshot

toObject

fun <T : Any> QueryDocumentSnapshot.toObject(): T
fun <T : Any> QueryDocumentSnapshot.toObject(serverTimestampBehavior: ServerTimestampBehavior): T

Returns the contents of the document converted to a POJO.