SetupUsername

class SetupUsername @Inject() constructor(userRepository: UserRepository, userSettingRepository: UserSettingsRepository)

Setup the username, then available as User.name.

Constructors

SetupUsername
Link copied to clipboard
@Inject()
fun SetupUsername(userRepository: UserRepository, userSettingRepository: UserSettingsRepository)

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
invoke
Link copied to clipboard
suspend operator fun invoke(userId: UserId, username: String)
toString
Link copied to clipboard
open fun toString(): String