toValue method
Implementation
String toValue() {
  switch (this) {
    case RegistryStatus.available:
      return 'AVAILABLE';
    case RegistryStatus.deleting:
      return 'DELETING';
  }
}String toValue() {
  switch (this) {
    case RegistryStatus.available:
      return 'AVAILABLE';
    case RegistryStatus.deleting:
      return 'DELETING';
  }
}