toMapForPlatform method
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();
}