toValue method
Implementation
String toValue() {
switch (this) {
case FindingStatus.active:
return 'ACTIVE';
case FindingStatus.archived:
return 'ARCHIVED';
case FindingStatus.resolved:
return 'RESOLVED';
}
}
String toValue() {
switch (this) {
case FindingStatus.active:
return 'ACTIVE';
case FindingStatus.archived:
return 'ARCHIVED';
case FindingStatus.resolved:
return 'RESOLVED';
}
}