AMapLocation constructor

AMapLocation()

Implementation

factory AMapLocation() {
  if (_instance == null) {
    _instance = AMapLocation._();
    return _instance ?? AMapLocation();
  } else {
    return _instance ?? AMapLocation();
  }
}