toDomainNameStatus method
Implementation
DomainNameStatus toDomainNameStatus() {
switch (this) {
case 'AVAILABLE':
return DomainNameStatus.available;
case 'UPDATING':
return DomainNameStatus.updating;
}
throw Exception('$this is not known in enum DomainNameStatus');
}