dataObjects

inline fun <T> DocumentReference.dataObjects(metadataChanges: MetadataChanges = MetadataChanges.EXCLUDE): Flow<T?>(source)
inline fun <T> Query.dataObjects(metadataChanges: MetadataChanges = MetadataChanges.EXCLUDE): Flow<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.dataObjects
dataObjects<T>(metadataChanges)

The SDK's dataObjects flow; deprecated towards com.google.firebase.serialization.dataObjects.