toValue method
Implementation
String toValue() {
switch (this) {
case DomainStatus.pendingValidation:
return 'PENDING_VALIDATION';
case DomainStatus.success:
return 'SUCCESS';
case DomainStatus.failed:
return 'FAILED';
}
}