VehicleList class
Defines the VehicleList
data model class.
This class represents a list of Tesla vehicles along with a count of how many vehicles are present in the list.
Constructors
-
VehicleList({required List<
Vehicle> response, required int count}) - Creates a new instance of the VehicleList.
-
VehicleList.fromJson(Map<
String, dynamic> json) -
Constructs a new VehicleList instance from a map.
factory
Properties
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