encodeToPlainValue

inline fun <T> FirebaseFormat.encodeToPlainValue(value: T): Any?(source)

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