invoke

operator fun invoke(): User

Calls the invoke operator to retrieve the singleton instance of the User.

Return

The singleton instance of the User.

Example:

// Using invoke() to retrieve the User instance
val user = User() // Equivalent to RainbowSdk().user()

// Accessing services or functionalities using the retrieved instance
user.someServiceMethod()