create

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

Create a new user.

Return

The created user.

Parameters

username

The username of the user.

password

The password of the user.

description

The description of the user.

profilePicture

The profile picture of the user.