// 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 MAPinAnnotationColor {
  MAPinAnnotationColorRed /* 0 */,
  MAPinAnnotationColorGreen /* null */,
  MAPinAnnotationColorPurple /* null */
}

extension MAPinAnnotationColorToX on MAPinAnnotationColor {
  int toValue() {
    switch (this) {
      case MAPinAnnotationColor.MAPinAnnotationColorRed: return 0;
      case MAPinAnnotationColor.MAPinAnnotationColorGreen: return MAPinAnnotationColor.MAPinAnnotationColorGreen.index + 0;
      case MAPinAnnotationColor.MAPinAnnotationColorPurple: return MAPinAnnotationColor.MAPinAnnotationColorPurple.index + 0;
      default: return 0;
    }
  }
}

extension MAPinAnnotationColorFromX on int {
  MAPinAnnotationColor toMAPinAnnotationColor() {
    switch (this) {
      case 0: return MAPinAnnotationColor.MAPinAnnotationColorRed;
      default: return MAPinAnnotationColor.values[this + 0];
    }
  }
}