toValue method
Implementation
String toValue() {
switch (this) {
case DomainControllerStatus.creating:
return 'Creating';
case DomainControllerStatus.active:
return 'Active';
case DomainControllerStatus.impaired:
return 'Impaired';
case DomainControllerStatus.restoring:
return 'Restoring';
case DomainControllerStatus.deleting:
return 'Deleting';
case DomainControllerStatus.deleted:
return 'Deleted';
case DomainControllerStatus.failed:
return 'Failed';
}
}