of

fun of(email: String, username: String): User

Creates a user with the given email and username.

Return

the user

Parameters

email

the email of the user

username

the username of the user