Vehicle constructor

Vehicle({
  1. String? id,
  2. String? userId,
  3. String? vehicleId,
  4. String? vin,
  5. String? displayName,
  6. String? optionCodes,
  7. String? color,
  8. List<String>? tokens,
  9. String? state,
  10. bool? inService,
  11. String? idS,
  12. bool? calendarEnabled,
  13. String? backseatToken,
  14. String? backseatTokenUpdatedAt,
  15. GuiSettings? guiSettings,
  16. VehicleState? vehicleState,
  17. ClimateState? climateState,
  18. ChargeState? chargeState,
  19. DriveState? driveState,
  20. VehicleConfig? vehicleConfig,
})

Creates a new instance of the Vehicle.

All parameters are optional and can be supplied as named parameters.

Implementation

Vehicle({
  this.id,
  this.userId,
  this.vehicleId,
  this.vin,
  this.displayName,
  this.optionCodes,
  this.color,
  this.tokens,
  this.state,
  this.inService,
  this.idS,
  this.calendarEnabled,
  this.backseatToken,
  this.backseatTokenUpdatedAt,
  this.guiSettings,
  this.vehicleState,
  this.climateState,
  this.chargeState,
  this.driveState,
  this.vehicleConfig,
});