VehicleModel constructor

VehicleModel({
  1. String vehicleName = "",
  2. num renewalPrice = 0,
  3. num orderPrice = 0,
  4. int nobility = 0,
  5. num remainderDays = 0,
  6. int id = 0,
  7. int vehicleId = 0,
  8. int usedState = 0,
  9. String vehicleGif = "",
  10. num userId = 0,
  11. String vehiclePic = "",
  12. String expiredTime = "",
  13. num vehicleType = 0,
  14. String title = "",
  15. bool hasOwned = false,
})

Implementation

VehicleModel({
  this.vehicleName = "",
  this.renewalPrice = 0,
  this.orderPrice = 0,
  this.nobility = 0,
  this.remainderDays = 0,
  this.id = 0,
  this.vehicleId = 0,
  this.usedState = 0,
  this.vehicleGif = "",
  this.userId = 0,
  this.vehiclePic = "",
  this.expiredTime = "",
  this.vehicleType = 0,
  this.title = "",
  this.hasOwned = false
});