我有kotlin数据类
data class Client( val name: String = "", val email: String = "", val phone: String ="") { constructor():this("","","")}
我让firestore将数据填充到类中很好,但是我不知道如何将文档id放入数据类而不必在文档本身中设置它.这可能吗?
android kotlin firebase google-cloud-firestore
android ×1
firebase ×1
google-cloud-firestore ×1
kotlin ×1