BMFRecommendStopSearchResult.fromMap constructor

BMFRecommendStopSearchResult.fromMap(
  1. Map map
)

map => BMFRecommendStopSearchResult

Implementation

BMFRecommendStopSearchResult.fromMap(Map map)
    : assert(map != null,
          'Construct a BMFRecommendStopSearchResult,The parameter map cannot be null !') {
  if (map['recommendStopInfoList'] != null) {
    recommendStopInfoList = new List<BMFRecommendStopInfo>();
    map['recommendStopInfoList'].forEach((v) {
      recommendStopInfoList.add(BMFRecommendStopInfo.fromMap(v as Map));
    });
  }
}