prepare

fun prepare(full: String): Username

Prepares a valid instance of Username by ensuring the given string starts with "@".

Return

A Username instance constructed using the provided or modified input string.

Parameters

full

The input string representing the username. If the string does not start with "@", it will be prefixed with "@".