Smart Parking
androidJvm
domain
/
it.unibolss.smartparking.domain.usecases.user
/
ValidateUserName
Validate
User
Name
class
ValidateUserName
:
UseCase
<
ValidateUserName.Params
,
Boolean
>
Validates the name of a user
Members
Members & Extensions
Constructors
Validate
User
Name
Link copied to clipboard
constructor
(
)
Types
Companion
Link copied to clipboard
object
Companion
Params
Link copied to clipboard
data
class
Params
(
val
name
:
String
)
Functions
invoke
Link copied to clipboard
operator
fun
invoke
(
params
:
ValidateUserName.Params
)
:
Boolean
invoke
Link copied to clipboard
operator
fun
<
Res
>
UseCase
<
Unit
,
Res
>
.
invoke
(
)
:
Res
Utility method to avoid passing
Unit
argument to invoke