fromJson static method
Implementation
static AMapPoi? fromJson(dynamic json) {
if (null == json) {
return null;
}
return AMapPoi(
id: json['id'],
name: json['name'],
latLng: LatLng.fromJson(json['latLng'])!,
);
}
static AMapPoi? fromJson(dynamic json) {
if (null == json) {
return null;
}
return AMapPoi(
id: json['id'],
name: json['name'],
latLng: LatLng.fromJson(json['latLng'])!,
);
}