ProductModel class

Constructors

ProductModel.new({required String name, required List<String> imagePaths, required String productionFamilyName, required String productWhatsappNumber, required String productionFamilyWebsiteUrl, required String productPrice, required double productRating, required int productReviweCount})
ProductModel.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
imagePaths List<String>
final
name String
final
productionFamilyName String
final
productionFamilyWebsiteUrl String
final
productPrice String
final
productRating double
final
productReviweCount int
final
productWhatsappNumber 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
toMap() Map<String, dynamic>
Converts this object into a Map that can be used to encode it to JSON.
toString() String
A string representation of this object.
inherited

Operators

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