toRegistryStatus method

RegistryStatus toRegistryStatus()

Implementation

RegistryStatus toRegistryStatus() {
  switch (this) {
    case 'AVAILABLE':
      return RegistryStatus.available;
    case 'DELETING':
      return RegistryStatus.deleting;
  }
  throw Exception('$this is not known in enum RegistryStatus');
}