// 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 TXEAVRoomVideoAspect {
  AVROOM_VIDEO_ASPECT_9_16 /* 1 */,
  AVROOM_VIDEO_ASPECT_3_4 /* 2 */,
  AVROOM_VIDEO_ASPECT_1_1 /* 3 */
}

extension TXEAVRoomVideoAspectToX on TXEAVRoomVideoAspect {
  int toValue() {
    switch (this) {
      case TXEAVRoomVideoAspect.AVROOM_VIDEO_ASPECT_9_16: return 1;
      case TXEAVRoomVideoAspect.AVROOM_VIDEO_ASPECT_3_4: return 2;
      case TXEAVRoomVideoAspect.AVROOM_VIDEO_ASPECT_1_1: return 3;
      default: return 0;
    }
  }
}

extension TXEAVRoomVideoAspectFromX on int {
  TXEAVRoomVideoAspect toTXEAVRoomVideoAspect() {
    switch (this) {
      case 1: return TXEAVRoomVideoAspect.AVROOM_VIDEO_ASPECT_9_16;
      case 2: return TXEAVRoomVideoAspect.AVROOM_VIDEO_ASPECT_3_4;
      case 3: return TXEAVRoomVideoAspect.AVROOM_VIDEO_ASPECT_1_1;
      default: return TXEAVRoomVideoAspect.values[this + 1];
    }
  }
}