// 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 TXLocalVideoMirrorType {
  LocalVideoMirrorType_Auto /* 0 */,
  LocalVideoMirrorType_Enable /* 1 */,
  LocalVideoMirrorType_Disable /* 2 */
}

extension TXLocalVideoMirrorTypeToX on TXLocalVideoMirrorType {
  int toValue() {
    switch (this) {
      case TXLocalVideoMirrorType.LocalVideoMirrorType_Auto: return 0;
      case TXLocalVideoMirrorType.LocalVideoMirrorType_Enable: return 1;
      case TXLocalVideoMirrorType.LocalVideoMirrorType_Disable: return 2;
      default: return 0;
    }
  }
}

extension TXLocalVideoMirrorTypeFromX on int {
  TXLocalVideoMirrorType toTXLocalVideoMirrorType() {
    switch (this) {
      case 0: return TXLocalVideoMirrorType.LocalVideoMirrorType_Auto;
      case 1: return TXLocalVideoMirrorType.LocalVideoMirrorType_Enable;
      case 2: return TXLocalVideoMirrorType.LocalVideoMirrorType_Disable;
      default: return TXLocalVideoMirrorType.values[this + 0];
    }
  }
}