toValue method
Implementation
String toValue() {
switch (this) {
case IdentityType.user:
return 'USER';
case IdentityType.group:
return 'GROUP';
}
}
String toValue() {
switch (this) {
case IdentityType.user:
return 'USER';
case IdentityType.group:
return 'GROUP';
}
}