BMFIndoorRoutePlanOption.fromMap constructor

BMFIndoorRoutePlanOption.fromMap(
  1. Map map
)

map => BMFIndoorRoutePlanOption

Implementation

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