Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
sealed class SocialSignInResult {
   data class Success(val token: String) : SocialSignInResult()
   data class Link(val token: String) : SocialSignInResult()
   data class Register(val token: String) : SocialSignInResult()
   data class Error(val errorMessage: String) : SocialSignInResult()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment