// 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_PlayerType {
  PLAYER_FFPLAY /* 0 */,
  PLAYER_AVPLAYER /* 1 */
}

extension TX_Enum_PlayerTypeToX on TX_Enum_PlayerType {
  int toValue() {
    switch (this) {
      case TX_Enum_PlayerType.PLAYER_FFPLAY: return 0;
      case TX_Enum_PlayerType.PLAYER_AVPLAYER: return 1;
      default: return 0;
    }
  }
}

extension TX_Enum_PlayerTypeFromX on int {
  TX_Enum_PlayerType toTX_Enum_PlayerType() {
    switch (this) {
      case 0: return TX_Enum_PlayerType.PLAYER_FFPLAY;
      case 1: return TX_Enum_PlayerType.PLAYER_AVPLAYER;
      default: return TX_Enum_PlayerType.values[this + 0];
    }
  }
}