// 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 AMapCloudSortType {
  AMapCloudSortTypeDESC /* 0 */,
  AMapCloudSortTypeASC /* 1 */
}

extension AMapCloudSortTypeToX on AMapCloudSortType {
  int toValue() {
    switch (this) {
      case AMapCloudSortType.AMapCloudSortTypeDESC: return 0;
      case AMapCloudSortType.AMapCloudSortTypeASC: return 1;
      default: return 0;
    }
  }
}

extension AMapCloudSortTypeFromX on int {
  AMapCloudSortType toAMapCloudSortType() {
    switch (this) {
      case 0: return AMapCloudSortType.AMapCloudSortTypeDESC;
      case 1: return AMapCloudSortType.AMapCloudSortTypeASC;
      default: return AMapCloudSortType.values[this + 0];
    }
  }
}