BMFRecommendStopInfo.fromMap constructor

BMFRecommendStopInfo.fromMap(
  1. Map map
)

map => BMFRecommendStopInfo

Implementation

BMFRecommendStopInfo.fromMap(Map map)
    : assert(map != null,
          'Construct a BMFRecommendStopInfo,The parameter map cannot be null !') {
  name = map['name'];
  address = map['address'];
  location =
      map['location'] == null ? null : BMFCoordinate.fromMap(map['location']);
  uid = map['uid'];
  distance = map['distance'];
}