Car class

Constructors

Car({required String name, required double price, required String image, required String desc, required bool isAvailable, String rentalInfo = '', bool isFavorite = false})

Properties

desc String
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
image String
final
isAvailable bool
final
isFavorite bool
getter/setter pair
name String
final
price double
final
rentalInfo String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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