VehicleModel constructor
VehicleModel({
- String vehicleName = "",
- num renewalPrice = 0,
- num orderPrice = 0,
- int nobility = 0,
- num remainderDays = 0,
- int id = 0,
- int vehicleId = 0,
- int usedState = 0,
- String vehicleGif = "",
- num userId = 0,
- String vehiclePic = "",
- String expiredTime = "",
- num vehicleType = 0,
- String title = "",
- 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
});