values

inline fun <T> Query.values(): Flow<T?>(source)

Deprecated (with error)

Maps the class with the Android SDK's reflection, which only exists on Android and the JVM; getValue<T>() in com.google.firebase.serialization maps a @Serializable class with kotlinx.serialization on every platform

Replace with

import com.google.firebase.serialization.values
values<T>()

The SDK's values flow (see DataSnapshot.getValue); deprecated towards com.google.firebase.serialization.values.