// ignore_for_file: non_constant_identifier_names, camel_case_types, missing_return, unused_import, unused_local_variable, dead_code, unnecessary_cast
//////////////////////////////////////////////////////////
// GENERATED BY FLUTTIFY. DO NOT EDIT IT.
//////////////////////////////////////////////////////////

enum TX_Enum_Type_LogLevel {
  LOGLEVEL_VERBOSE /* 0 */,
  LOGLEVEL_DEBUG /* 1 */,
  LOGLEVEL_INFO /* 2 */,
  LOGLEVEL_WARN /* 3 */,
  LOGLEVEL_ERROR /* 4 */,
  LOGLEVEL_FATAL /* 5 */,
  LOGLEVEL_NULL /* 6 */
}

extension TX_Enum_Type_LogLevelToX on TX_Enum_Type_LogLevel {
  int toValue() {
    switch (this) {
      case TX_Enum_Type_LogLevel.LOGLEVEL_VERBOSE: return 0;
      case TX_Enum_Type_LogLevel.LOGLEVEL_DEBUG: return 1;
      case TX_Enum_Type_LogLevel.LOGLEVEL_INFO: return 2;
      case TX_Enum_Type_LogLevel.LOGLEVEL_WARN: return 3;
      case TX_Enum_Type_LogLevel.LOGLEVEL_ERROR: return 4;
      case TX_Enum_Type_LogLevel.LOGLEVEL_FATAL: return 5;
      case TX_Enum_Type_LogLevel.LOGLEVEL_NULL: return 6;
      default: return 0;
    }
  }
}

extension TX_Enum_Type_LogLevelFromX on int {
  TX_Enum_Type_LogLevel toTX_Enum_Type_LogLevel() {
    switch (this) {
      case 0: return TX_Enum_Type_LogLevel.LOGLEVEL_VERBOSE;
      case 1: return TX_Enum_Type_LogLevel.LOGLEVEL_DEBUG;
      case 2: return TX_Enum_Type_LogLevel.LOGLEVEL_INFO;
      case 3: return TX_Enum_Type_LogLevel.LOGLEVEL_WARN;
      case 4: return TX_Enum_Type_LogLevel.LOGLEVEL_ERROR;
      case 5: return TX_Enum_Type_LogLevel.LOGLEVEL_FATAL;
      case 6: return TX_Enum_Type_LogLevel.LOGLEVEL_NULL;
      default: return TX_Enum_Type_LogLevel.values[this + 0];
    }
  }
}