BMFPlanNode.fromMap constructor

BMFPlanNode.fromMap(
  1. Map map
)

map => BMFPlanNode

Implementation

BMFPlanNode.fromMap(Map map)
    : assert(map != null,
          'Construct a BMFPlanNode,The parameter map cannot be null !') {
  cityName = map['cityName'];
  cityID = map['cityID'];
  name = map['name'];
  pt = map['pt'] == null ? null : BMFCoordinate.fromMap(map['pt']);
}