// 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_BeautyFilterDepth {
  BEAUTY_FILTER_DEPTH_CLOSE /* 0 */,
  BEAUTY_FILTER_DEPTH_MAX /* 9 */
}

extension TX_Enum_Type_BeautyFilterDepthToX on TX_Enum_Type_BeautyFilterDepth {
  int toValue() {
    switch (this) {
      case TX_Enum_Type_BeautyFilterDepth.BEAUTY_FILTER_DEPTH_CLOSE: return 0;
      case TX_Enum_Type_BeautyFilterDepth.BEAUTY_FILTER_DEPTH_MAX: return 9;
      default: return 0;
    }
  }
}

extension TX_Enum_Type_BeautyFilterDepthFromX on int {
  TX_Enum_Type_BeautyFilterDepth toTX_Enum_Type_BeautyFilterDepth() {
    switch (this) {
      case 0: return TX_Enum_Type_BeautyFilterDepth.BEAUTY_FILTER_DEPTH_CLOSE;
      case 9: return TX_Enum_Type_BeautyFilterDepth.BEAUTY_FILTER_DEPTH_MAX;
      default: return TX_Enum_Type_BeautyFilterDepth.values[this + 0];
    }
  }
}