Product class

Constructors

Product({required String id, required String idOnStore, required String storeId, required String sellerId, required String name, required int price, required String description, required String image, required bool includeInRecommendation, required Map? data, required String? url, required String? deepLink, required String? caption, required String createdAt, required String updatedAt})
Product.fromJson(String source)
factory
Product.fromMap(Map<String, dynamic> map)
factory

Properties

caption String?
final
createdAt String
final
data Map?
final
final
description String
final
hashCode int
The hash code for this object.
no setteroverride
id String
final
idOnStore String
final
image String
final
includeInRecommendation bool
final
name String
final
price int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sellerId String
final
storeId String
final
updatedAt String
final
url String?
final

Methods

copyWith({String? id, String? idOnStore, String? storeId, String? sellerId, String? name, int? price, String? description, String? image, bool? includeInRecommendation, Map? data, String? url, String? deepLink, String? caption, String? createdAt, String? updatedAt}) Product
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(covariant Product other) bool
The equality operator.
override