toObject
Deprecated (with error)
Maps the class with the Android SDK's reflection, which only exists on Android and the JVM; the reified toObject<T>(), toObjects<T>(), getField<T>() and dataObjects<T>() in com.google.firebase.serialization map a @Serializable class with kotlinx.serialization on every platform
Replace with
import com.google.firebase.serialization.toObject
Content copied to clipboard
toObject<T>()Content copied to clipboard
The SDK's reified toObject; deprecated towards com.google.firebase.serialization.toObject.
inline fun <T> DocumentSnapshot.toObject(serverTimestampBehavior: DocumentSnapshot.ServerTimestampBehavior): T?(source)
inline fun <T> QueryDocumentSnapshot.toObject(serverTimestampBehavior: DocumentSnapshot.ServerTimestampBehavior): T(source)
Deprecated (with error)
Maps the class with the Android SDK's reflection, which only exists on Android and the JVM; the reified toObject<T>(), toObjects<T>(), getField<T>() and dataObjects<T>() in com.google.firebase.serialization map a @Serializable class with kotlinx.serialization on every platform
Replace with
import com.google.firebase.serialization.toObject
Content copied to clipboard
toObject<T>(serverTimestampBehavior)Content copied to clipboard
The SDK's reified toObject; deprecated towards com.google.firebase.serialization.toObject.