AMapLocationForAndroid.fromMap constructor
AMapLocationForAndroid.fromMap(
- Map map
Implementation
AMapLocationForAndroid.fromMap(super.map)
: accuracy = map['accuracy'] as double?,
provider = map['provider'] as String?,
locationType = map['locationType'] as int?,
buildingId = map['buildingId'] as String?,
conScenario = map['conScenario'] as int?,
coordType = map['coordType'] as String?,
gpsAccuracyStatus =
GPSAccuracyStatus.getStatus(map['gpsAccuracyStatus'] as int?),
locationDetail = map['locationDetail'] as String?,
locationQualityReport = map['locationQualityReport'] == null
? null
: AMapLocationQualityReport.fromMap(
map['locationQualityReport'] as Map),
satellites = map['satellites'] as int?,
trustedLevel = map['trustedLevel'] as int?,
description = map['description'] as String?,
super.fromMap();