BMFBaseVehicleInfo.fromMap constructor

BMFBaseVehicleInfo.fromMap(
  1. 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'];
}