toValue method
Implementation
String toValue() {
switch (this) {
case ApprovalState.approve:
return 'APPROVE';
case ApprovalState.revoke:
return 'REVOKE';
}
}
String toValue() {
switch (this) {
case ApprovalState.approve:
return 'APPROVE';
case ApprovalState.revoke:
return 'REVOKE';
}
}