BMFPoiDetailSearchResult.fromMap constructor
- Map map
map => BMFPoiDetailSearchResult
Implementation
BMFPoiDetailSearchResult.fromMap(Map map)
: assert(map != null,
'Construct a BMFPoiDetailSearchResult,The parameter map cannot be null !') {
totalPOINum = map['totalPOINum'];
if (map['poiInfoList'] != null) {
poiInfoList = new List<BMFPoiInfo>();
map['poiInfoList'].forEach((v) {
poiInfoList.add(BMFPoiInfo.fromMap(v as Map));
});
}
}