decodeFromPlainValue

inline fun <T> FirebaseFormat.decodeFromPlainValue(value: Any?, documentReference: Any? = null): T(source)

Decodes plain values to a T with the serializer of its type, where Any stands for any plain value.