fromMap static method
Implementation
static AMapLocation? fromMap(dynamic json) {
if (null == json) {
return null;
}
return AMapLocation(
provider: json['provider'],
latLng: LatLng.fromJson(json['latLng'])!,
accuracy: (json['accuracy']).toDouble(),
altitude: (json['altitude']).toDouble(),
bearing: (json['bearing']).toDouble(),
speed: (json['speed']).toDouble(),
time: json['time'],
);
}