toAMapLocationRegionState method

AMapLocationRegionState toAMapLocationRegionState()

Implementation

AMapLocationRegionState toAMapLocationRegionState() {
  switch (this) {
    case 0: return AMapLocationRegionState.AMapLocationRegionStateUnknow;
    case 1: return AMapLocationRegionState.AMapLocationRegionStateInside;
    case 2: return AMapLocationRegionState.AMapLocationRegionStateOutside;
    default: return AMapLocationRegionState.values[this + 0];
  }
}