toConfigurationEventStatus method

ConfigurationEventStatus toConfigurationEventStatus()

Implementation

ConfigurationEventStatus toConfigurationEventStatus() {
  switch (this) {
    case 'INFO':
      return ConfigurationEventStatus.info;
    case 'WARN':
      return ConfigurationEventStatus.warn;
    case 'ERROR':
      return ConfigurationEventStatus.error;
  }
  throw Exception('$this is not known in enum ConfigurationEventStatus');
}