Success

data class Success<out T>(val data: T?) : AuthResult<T>

Constructors

Link copied to clipboard
constructor(data: T?)

Properties

Link copied to clipboard
val data: T?
Link copied to clipboard

Convenience function to quickly check if this result is a AuthResult.Failure

Link copied to clipboard

Convenience function to quickly check if this result is a AuthResult.Success

Link copied to clipboard

Helper property to directly access the data payload without having to safequard it in every call