BMFWalkingRoutePlanOption.fromMap constructor

BMFWalkingRoutePlanOption.fromMap(
  1. Map map
)

map => BMFWalkingRoutePlanOption

Implementation

BMFWalkingRoutePlanOption.fromMap(Map map)
    : assert(map != null,
          'Construct a BMFWalkingRoutePlanOption,The parameter map cannot be null !') {
  from = map['from'] == null ? null : BMFPlanNode.fromMap(map['from']);
  to = map['to'] == null ? null : BMFPlanNode.fromMap(map['to']);
}