toMapForPlatform method

Map<String, dynamic> toMapForPlatform()

Implementation

Map<String, dynamic> toMapForPlatform() {
  if (this is AMapLocationForAndroid) {
    return (this as AMapLocationForAndroid).toMap();
  } else if (this is AMapLocationForIOS) {
    return (this as AMapLocationForIOS).toMap();
  }
  return toMap();
}