asProfile

Extension method for turning Users into UserProfiles by extracting metadata and calculating their balances.

Author

Jan Müller
fun User.asProfile(): UserProfile