// 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 TXVideoVoiceChangerType {
  VIDOE_VOICECHANGER_TYPE_0 /* 0 */,
  VIDOE_VOICECHANGER_TYPE_1 /* 1 */,
  VIDOE_VOICECHANGER_TYPE_2 /* 2 */,
  VIDOE_VOICECHANGER_TYPE_3 /* 3 */,
  VIDOE_VOICECHANGER_TYPE_4 /* 4 */,
  VIDOE_VOICECHANGER_TYPE_5 /* 5 */,
  VIDOE_VOICECHANGER_TYPE_6 /* 6 */,
  VIDOE_VOICECHANGER_TYPE_7 /* 7 */,
  VIDOE_VOICECHANGER_TYPE_8 /* 8 */,
  VIDOE_VOICECHANGER_TYPE_9 /* 9 */,
  VIDOE_VOICECHANGER_TYPE_10 /* 10 */,
  VIDOE_VOICECHANGER_TYPE_11 /* 11 */
}

extension TXVideoVoiceChangerTypeToX on TXVideoVoiceChangerType {
  int toValue() {
    switch (this) {
      case TXVideoVoiceChangerType.VIDOE_VOICECHANGER_TYPE_0: return 0;
      case TXVideoVoiceChangerType.VIDOE_VOICECHANGER_TYPE_1: return 1;
      case TXVideoVoiceChangerType.VIDOE_VOICECHANGER_TYPE_2: return 2;
      case TXVideoVoiceChangerType.VIDOE_VOICECHANGER_TYPE_3: return 3;
      case TXVideoVoiceChangerType.VIDOE_VOICECHANGER_TYPE_4: return 4;
      case TXVideoVoiceChangerType.VIDOE_VOICECHANGER_TYPE_5: return 5;
      case TXVideoVoiceChangerType.VIDOE_VOICECHANGER_TYPE_6: return 6;
      case TXVideoVoiceChangerType.VIDOE_VOICECHANGER_TYPE_7: return 7;
      case TXVideoVoiceChangerType.VIDOE_VOICECHANGER_TYPE_8: return 8;
      case TXVideoVoiceChangerType.VIDOE_VOICECHANGER_TYPE_9: return 9;
      case TXVideoVoiceChangerType.VIDOE_VOICECHANGER_TYPE_10: return 10;
      case TXVideoVoiceChangerType.VIDOE_VOICECHANGER_TYPE_11: return 11;
      default: return 0;
    }
  }
}

extension TXVideoVoiceChangerTypeFromX on int {
  TXVideoVoiceChangerType toTXVideoVoiceChangerType() {
    switch (this) {
      case 0: return TXVideoVoiceChangerType.VIDOE_VOICECHANGER_TYPE_0;
      case 1: return TXVideoVoiceChangerType.VIDOE_VOICECHANGER_TYPE_1;
      case 2: return TXVideoVoiceChangerType.VIDOE_VOICECHANGER_TYPE_2;
      case 3: return TXVideoVoiceChangerType.VIDOE_VOICECHANGER_TYPE_3;
      case 4: return TXVideoVoiceChangerType.VIDOE_VOICECHANGER_TYPE_4;
      case 5: return TXVideoVoiceChangerType.VIDOE_VOICECHANGER_TYPE_5;
      case 6: return TXVideoVoiceChangerType.VIDOE_VOICECHANGER_TYPE_6;
      case 7: return TXVideoVoiceChangerType.VIDOE_VOICECHANGER_TYPE_7;
      case 8: return TXVideoVoiceChangerType.VIDOE_VOICECHANGER_TYPE_8;
      case 9: return TXVideoVoiceChangerType.VIDOE_VOICECHANGER_TYPE_9;
      case 10: return TXVideoVoiceChangerType.VIDOE_VOICECHANGER_TYPE_10;
      case 11: return TXVideoVoiceChangerType.VIDOE_VOICECHANGER_TYPE_11;
      default: return TXVideoVoiceChangerType.values[this + 0];
    }
  }
}