toValue method
Implementation
String toValue() {
switch (this) {
case ReviewStatus.pending:
return 'PENDING';
case ReviewStatus.failed:
return 'FAILED';
case ReviewStatus.granted:
return 'GRANTED';
case ReviewStatus.denied:
return 'DENIED';
}
}