BMFMassTransitRouteLine.fromMap constructor
- Map map
map => BMFMassTransitRouteLine
Implementation
BMFMassTransitRouteLine.fromMap(Map map) : super.fromMap(map) {
if (map['steps'] != null) {
steps = new List<BMFMassTransitStep>();
map['steps'].forEach((v) {
steps.add(BMFMassTransitStep.fromMap(v as Map));
});
}
price = map['price'];
}