// 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_RTMPChannel {
  RTMP_CHANNEL_TYPE_AUTO /* 0 */,
  RTMP_CHANNEL_TYPE_STANDARD /* 1 */,
  RTMP_CHANNEL_TYPE_PRIVATE /* 2 */
}

extension TX_Enum_Type_RTMPChannelToX on TX_Enum_Type_RTMPChannel {
  int toValue() {
    switch (this) {
      case TX_Enum_Type_RTMPChannel.RTMP_CHANNEL_TYPE_AUTO: return 0;
      case TX_Enum_Type_RTMPChannel.RTMP_CHANNEL_TYPE_STANDARD: return 1;
      case TX_Enum_Type_RTMPChannel.RTMP_CHANNEL_TYPE_PRIVATE: return 2;
      default: return 0;
    }
  }
}

extension TX_Enum_Type_RTMPChannelFromX on int {
  TX_Enum_Type_RTMPChannel toTX_Enum_Type_RTMPChannel() {
    switch (this) {
      case 0: return TX_Enum_Type_RTMPChannel.RTMP_CHANNEL_TYPE_AUTO;
      case 1: return TX_Enum_Type_RTMPChannel.RTMP_CHANNEL_TYPE_STANDARD;
      case 2: return TX_Enum_Type_RTMPChannel.RTMP_CHANNEL_TYPE_PRIVATE;
      default: return TX_Enum_Type_RTMPChannel.values[this + 0];
    }
  }
}