BackVehicleLicenseData constructor
BackVehicleLicenseData(- Map dataMap
)
Implementation
BackVehicleLicenseData(Map<dynamic, dynamic> dataMap) : super(dataMap) {
brand = dataMap.getValue<String>(Inbound.brand);
chassisNumber = dataMap.getValue<String>(Inbound.chassisNumber);
color = dataMap.getValue<String>(Inbound.color);
cylinders = dataMap.getValue<String>(Inbound.cylinders);
engineCapacity = dataMap.getValue<String>(Inbound.engineCapacity);
examinationDate = dataMap.getValue<String>(Inbound.examinationDate);
extraInfo = dataMap.getValue<String>(Inbound.extraInfo);
image = dataMap.getValue<String>(Inbound.image);
insurance = dataMap.getValue<String>(Inbound.insurance);
modelName = dataMap.getValue<String>(Inbound.modelName);
modelYear = dataMap.getValue<String>(Inbound.modelYear);
motorNumber = dataMap.getValue<String>(Inbound.motorNumber);
petrolType = dataMap.getValue<String>(Inbound.petrolType);
restInsurance = dataMap.getValue<String>(Inbound.restInsurance);
serialNumber = dataMap.getValue<String>(
Inbound.serialNum); //notice the serialNum not serialNumber
vehicleType = dataMap.getValue<String>(Inbound.vehicleType);
}