Vehicle constructor
Vehicle({
- String? id,
- String? userId,
- String? vehicleId,
- String? vin,
- String? displayName,
- String? optionCodes,
- String? color,
- List<
String> ? tokens, - String? state,
- bool? inService,
- String? idS,
- bool? calendarEnabled,
- String? backseatToken,
- String? backseatTokenUpdatedAt,
- GuiSettings? guiSettings,
- VehicleState? vehicleState,
- ClimateState? climateState,
- ChargeState? chargeState,
- DriveState? driveState,
- 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,
});