// 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 TXVideoReverbType {
  VIDOE_REVERB_TYPE_0 /* 0 */,
  VIDOE_REVERB_TYPE_1 /* 1 */,
  VIDOE_REVERB_TYPE_2 /* 2 */,
  VIDOE_REVERB_TYPE_3 /* 3 */,
  VIDOE_REVERB_TYPE_4 /* 4 */,
  VIDOE_REVERB_TYPE_5 /* 5 */,
  VIDOE_REVERB_TYPE_6 /* 6 */,
  VIDOE_REVERB_TYPE_7 /* 7 */
}

extension TXVideoReverbTypeToX on TXVideoReverbType {
  int toValue() {
    switch (this) {
      case TXVideoReverbType.VIDOE_REVERB_TYPE_0: return 0;
      case TXVideoReverbType.VIDOE_REVERB_TYPE_1: return 1;
      case TXVideoReverbType.VIDOE_REVERB_TYPE_2: return 2;
      case TXVideoReverbType.VIDOE_REVERB_TYPE_3: return 3;
      case TXVideoReverbType.VIDOE_REVERB_TYPE_4: return 4;
      case TXVideoReverbType.VIDOE_REVERB_TYPE_5: return 5;
      case TXVideoReverbType.VIDOE_REVERB_TYPE_6: return 6;
      case TXVideoReverbType.VIDOE_REVERB_TYPE_7: return 7;
      default: return 0;
    }
  }
}

extension TXVideoReverbTypeFromX on int {
  TXVideoReverbType toTXVideoReverbType() {
    switch (this) {
      case 0: return TXVideoReverbType.VIDOE_REVERB_TYPE_0;
      case 1: return TXVideoReverbType.VIDOE_REVERB_TYPE_1;
      case 2: return TXVideoReverbType.VIDOE_REVERB_TYPE_2;
      case 3: return TXVideoReverbType.VIDOE_REVERB_TYPE_3;
      case 4: return TXVideoReverbType.VIDOE_REVERB_TYPE_4;
      case 5: return TXVideoReverbType.VIDOE_REVERB_TYPE_5;
      case 6: return TXVideoReverbType.VIDOE_REVERB_TYPE_6;
      case 7: return TXVideoReverbType.VIDOE_REVERB_TYPE_7;
      default: return TXVideoReverbType.values[this + 0];
    }
  }
}