RoutePoiResult.fromJson constructor
Implementation
RoutePoiResult.fromJson(Map<String, dynamic> json) {
if (json['routePoiList'] != null) {
routePoiList = [];
json['routePoiList'].forEach((v) {
routePoiList?.add(RoutePoiItem.fromJson(v));
});
}
query = json['query'];
}