BMFBaseVehicleInfo.fromMap constructor
- Map map
map => BMFBaseVehicleInfo
Implementation
BMFBaseVehicleInfo.fromMap(Map map)
: assert(map != null,
'Construct a BMFBaseVehicleInfo,The parameter map cannot be null !') {
name = map['name'];
departureStation = map['departureStation'];
arriveTime = map['arriveTime'];
departureTime = map['departureTime'];
arriveStation = map['arriveStation'];
}