// 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_BeautyStyle {
  BEAUTY_STYLE_SMOOTH /* 0 */,
  BEAUTY_STYLE_NATURE /* 1 */,
  BEAUTY_STYLE_PITU /* 2 */
}

extension TX_Enum_Type_BeautyStyleToX on TX_Enum_Type_BeautyStyle {
  int toValue() {
    switch (this) {
      case TX_Enum_Type_BeautyStyle.BEAUTY_STYLE_SMOOTH: return 0;
      case TX_Enum_Type_BeautyStyle.BEAUTY_STYLE_NATURE: return 1;
      case TX_Enum_Type_BeautyStyle.BEAUTY_STYLE_PITU: return 2;
      default: return 0;
    }
  }
}

extension TX_Enum_Type_BeautyStyleFromX on int {
  TX_Enum_Type_BeautyStyle toTX_Enum_Type_BeautyStyle() {
    switch (this) {
      case 0: return TX_Enum_Type_BeautyStyle.BEAUTY_STYLE_SMOOTH;
      case 1: return TX_Enum_Type_BeautyStyle.BEAUTY_STYLE_NATURE;
      case 2: return TX_Enum_Type_BeautyStyle.BEAUTY_STYLE_PITU;
      default: return TX_Enum_Type_BeautyStyle.values[this + 0];
    }
  }
}