create

open fun create(username: String): UserId

Factory method to create an instance of UserId.

Return

a new instance of UserId

Parameters

username

the username of the user