// 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 TXVoiceChangerType {
  VOICECHANGER_TYPE_0 /* 0 */,
  VOICECHANGER_TYPE_1 /* 1 */,
  VOICECHANGER_TYPE_2 /* 2 */,
  VOICECHANGER_TYPE_3 /* 3 */,
  VOICECHANGER_TYPE_4 /* 4 */,
  VOICECHANGER_TYPE_5 /* 5 */,
  VOICECHANGER_TYPE_6 /* 6 */,
  VOICECHANGER_TYPE_7 /* 7 */,
  VOICECHANGER_TYPE_8 /* 8 */,
  VOICECHANGER_TYPE_9 /* 9 */,
  VOICECHANGER_TYPE_10 /* 10 */,
  VOICECHANGER_TYPE_11 /* 11 */
}

extension TXVoiceChangerTypeToX on TXVoiceChangerType {
  int toValue() {
    switch (this) {
      case TXVoiceChangerType.VOICECHANGER_TYPE_0: return 0;
      case TXVoiceChangerType.VOICECHANGER_TYPE_1: return 1;
      case TXVoiceChangerType.VOICECHANGER_TYPE_2: return 2;
      case TXVoiceChangerType.VOICECHANGER_TYPE_3: return 3;
      case TXVoiceChangerType.VOICECHANGER_TYPE_4: return 4;
      case TXVoiceChangerType.VOICECHANGER_TYPE_5: return 5;
      case TXVoiceChangerType.VOICECHANGER_TYPE_6: return 6;
      case TXVoiceChangerType.VOICECHANGER_TYPE_7: return 7;
      case TXVoiceChangerType.VOICECHANGER_TYPE_8: return 8;
      case TXVoiceChangerType.VOICECHANGER_TYPE_9: return 9;
      case TXVoiceChangerType.VOICECHANGER_TYPE_10: return 10;
      case TXVoiceChangerType.VOICECHANGER_TYPE_11: return 11;
      default: return 0;
    }
  }
}

extension TXVoiceChangerTypeFromX on int {
  TXVoiceChangerType toTXVoiceChangerType() {
    switch (this) {
      case 0: return TXVoiceChangerType.VOICECHANGER_TYPE_0;
      case 1: return TXVoiceChangerType.VOICECHANGER_TYPE_1;
      case 2: return TXVoiceChangerType.VOICECHANGER_TYPE_2;
      case 3: return TXVoiceChangerType.VOICECHANGER_TYPE_3;
      case 4: return TXVoiceChangerType.VOICECHANGER_TYPE_4;
      case 5: return TXVoiceChangerType.VOICECHANGER_TYPE_5;
      case 6: return TXVoiceChangerType.VOICECHANGER_TYPE_6;
      case 7: return TXVoiceChangerType.VOICECHANGER_TYPE_7;
      case 8: return TXVoiceChangerType.VOICECHANGER_TYPE_8;
      case 9: return TXVoiceChangerType.VOICECHANGER_TYPE_9;
      case 10: return TXVoiceChangerType.VOICECHANGER_TYPE_10;
      case 11: return TXVoiceChangerType.VOICECHANGER_TYPE_11;
      default: return TXVoiceChangerType.values[this + 0];
    }
  }
}