ktx / com.google.firebase.database.ktx / com.google.firebase.database.MutableData / getValue

getValue

inline fun <reified T> MutableData.getValue(): T?

Returns the content of the MutableData converted to a POJO.

Supports generics like List<> or Map<>. Use @JvmSuppressWildcards to force the compiler to use the type T, and not ? extends T.