profile
inline fun <T> User.profile(serializer: KSerializer<T> = (this as UserImpl).app.configuration.ejson.serializersModule.serializerOrRealmBuiltInSerializer()): T
Returns the profile for this user as a T.
Note This method supports full document serialization. The user profile will be deserialized with serializer and decoded with AppConfiguration.ejson.
Return
The profile for this user.
Parameters
T
the type to decoded the user profile.
serializer
deserialization strategy for T.