toValue method
Implementation
String toValue() {
switch (this) {
case ComplianceStatus.compliant:
return 'COMPLIANT';
case ComplianceStatus.nonCompliant:
return 'NON_COMPLIANT';
}
}
String toValue() {
switch (this) {
case ComplianceStatus.compliant:
return 'COMPLIANT';
case ComplianceStatus.nonCompliant:
return 'NON_COMPLIANT';
}
}