UserId

constructor(value: String = newId())

Creates a UserId with the specified value or generates a new UUID if no value is provided.

Parameters

value

The string representation of the UUID. Defaults to a newly generated UUID.