toString method
The string representation of the identity provider
Implementation
@override
String toString() {
switch (this) {
case RulesIdentityProvider.email:
return 'email';
case RulesIdentityProvider.phone:
return 'phone';
case RulesIdentityProvider.google:
return 'google.com';
case RulesIdentityProvider.facebook:
return 'facebook.com';
case RulesIdentityProvider.github:
return 'github.com';
case RulesIdentityProvider.twitter:
return 'twitter.com';
}
}