// 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 MAHeatMapType {
  MAHeatMapTypeSquare /* 1 */,
  MAHeatMapTypeHoneycomb /* 2 */
}

extension MAHeatMapTypeToX on MAHeatMapType {
  int toValue() {
    switch (this) {
      case MAHeatMapType.MAHeatMapTypeSquare: return 1;
      case MAHeatMapType.MAHeatMapTypeHoneycomb: return 2;
      default: return 0;
    }
  }
}

extension MAHeatMapTypeFromX on int {
  MAHeatMapType toMAHeatMapType() {
    switch (this) {
      case 1: return MAHeatMapType.MAHeatMapTypeSquare;
      case 2: return MAHeatMapType.MAHeatMapTypeHoneycomb;
      default: return MAHeatMapType.values[this + 1];
    }
  }
}