VehicleConfig class

Defines the VehicleConfig data model class.

This class encapsulates all the different configurations that a Tesla vehicle can have. Each property corresponds to a specific feature or characteristic of a Tesla vehicle.

Constructors

VehicleConfig({bool? canActuateTrunks, String? carSpecialType, String? carType, String? chargePortType, bool? euVehicle, String? exteriorColor, bool? hasLudicrousMode, bool? motorizedChargePort, String? perfConfig, bool? plg, int? rearSeatHeaters, int? rearSeatType, bool? rhd, String? roofColor, int? seatType, String? spoilerType, int? sunRoofInstalled, String? thirdRowSeats, int? timestamp, String? trimBadging, String? wheelType})
Creates an instance of VehicleConfig.
VehicleConfig.fromJson(Map<String, dynamic> json)
Constructs a new VehicleConfig instance from a map.
factory

Properties

canActuateTrunks bool?
Indicates if the trunks can be actuated.
final
carSpecialType String?
Specifies the special type of the car.
final
carType String?
Specifies the type of the car.
final
chargePortType String?
Specifies the type of the charge port.
final
euVehicle bool?
Indicates if the vehicle is European model.
final
exteriorColor String?
Specifies the exterior color of the vehicle.
final
hashCode int
The hash code for this object.
no setterinherited
hasLudicrousMode bool?
Indicates if the vehicle has ludicrous mode.
final
motorizedChargePort bool?
Indicates if the charge port is motorized.
final
perfConfig String?
Specifies the performance configuration of the vehicle.
final
plg bool?
Unknown property. If known, add appropriate comment.
final
rearSeatHeaters int?
Specifies the type of rear seat heaters.
final
rearSeatType int?
Specifies the type of rear seat.
final
rhd bool?
Indicates if the vehicle is right-hand drive.
final
roofColor String?
Specifies the roof color of the vehicle.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seatType int?
Specifies the type of seats.
final
spoilerType String?
Specifies the type of spoiler.
final
sunRoofInstalled int?
Indicates if the sunroof is installed.
final
thirdRowSeats String?
Specifies the type of third row seats.
final
timestamp int?
Timestamp when the data was recorded.
final
trimBadging String?
Specifies the trim badging.
final
wheelType String?
Specifies the type of wheel.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited