// 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 com_amap_api_services_nearby_NearbySearchFunctionType {
  DISTANCE_SEARCH /* null */,
  DRIVING_DISTANCE_SEARCH /* null */
}

extension com_amap_api_services_nearby_NearbySearchFunctionTypeToX on com_amap_api_services_nearby_NearbySearchFunctionType {
  int toValue() {
    switch (this) {
      case com_amap_api_services_nearby_NearbySearchFunctionType.DISTANCE_SEARCH: return com_amap_api_services_nearby_NearbySearchFunctionType.DISTANCE_SEARCH.index + 0;
      case com_amap_api_services_nearby_NearbySearchFunctionType.DRIVING_DISTANCE_SEARCH: return com_amap_api_services_nearby_NearbySearchFunctionType.DRIVING_DISTANCE_SEARCH.index + 0;
      default: return 0;
    }
  }
}

extension com_amap_api_services_nearby_NearbySearchFunctionTypeFromX on int {
  com_amap_api_services_nearby_NearbySearchFunctionType tocom_amap_api_services_nearby_NearbySearchFunctionType() {
    switch (this) {
      
      default: return com_amap_api_services_nearby_NearbySearchFunctionType.values[this + 0];
    }
  }
}