toObjects

inline fun <T> QuerySnapshot.toObjects(): List<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.toObjects
toObjects<T>()

The SDK's reified toObjects; deprecated towards com.google.firebase.serialization.toObjects.


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.toObjects
toObjects<T>(serverTimestampBehavior)

The SDK's reified toObjects; deprecated towards com.google.firebase.serialization.toObjects.