// 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 TXVideoBeautyStyle {
  VIDOE_BEAUTY_STYLE_SMOOTH /* 0 */,
  VIDOE_BEAUTY_STYLE_NATURE /* 1 */,
  VIDOE_BEAUTY_STYLE_PITU /* 2 */
}

extension TXVideoBeautyStyleToX on TXVideoBeautyStyle {
  int toValue() {
    switch (this) {
      case TXVideoBeautyStyle.VIDOE_BEAUTY_STYLE_SMOOTH: return 0;
      case TXVideoBeautyStyle.VIDOE_BEAUTY_STYLE_NATURE: return 1;
      case TXVideoBeautyStyle.VIDOE_BEAUTY_STYLE_PITU: return 2;
      default: return 0;
    }
  }
}

extension TXVideoBeautyStyleFromX on int {
  TXVideoBeautyStyle toTXVideoBeautyStyle() {
    switch (this) {
      case 0: return TXVideoBeautyStyle.VIDOE_BEAUTY_STYLE_SMOOTH;
      case 1: return TXVideoBeautyStyle.VIDOE_BEAUTY_STYLE_NATURE;
      case 2: return TXVideoBeautyStyle.VIDOE_BEAUTY_STYLE_PITU;
      default: return TXVideoBeautyStyle.values[this + 0];
    }
  }
}