asUserOrNull

open suspend fun asUserOrNull(): User?(source)

Requests to get this behavior as a User, returns null if the user isn't present.

Throws

if anything went wrong during the request.