UserFactory

User factory.

Functions

Link copied to clipboard
fun copy(from: User, change: User.() -> Unit = {}): User

Copy a user.

Link copied to clipboard
fun create(username: Username, password: String, email: String? = null, description: String? = null, profilePicture: String? = null): User

Create a new user.