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