ProductDTO class

Inheritance

Constructors

ProductDTO({String? id, String? createdAt, String? updatedAt, bool? isActive, bool? isDeleted, bool? showInList, bool? showInHot, bool? showInHome, int? sortIndex, String? modelCode, String? hsCode, Detail? detail, List<ProductPriceDTO>? prices, List<ProductPhotoHolder>? photos, List<ProductDTO>? sides, List<StockDTO>? stocks, List<StockDTO>? inStocks, List<StockDTO>? outStocks, List<CatalogDTO>? catalogs, String? variant1, String? variant2, List<FeatureDTO>? features, List<TagDTO>? tags, Group? group, String? type, int? highlightRate, bool? useStock, List<ProductDTO>? products, List<CategoryDTO>? categories, BrandDTO? brand})
ProductDTO.fromJson(Map<String, dynamic> json)

Properties

brand BrandDTO?
getter/setter pair
catalogs List<CatalogDTO>?
getter/setter pair
categories List<CategoryDTO>?
getter/setter pair
createdAt String?
The time when the DTO was created.
getter/setter pairinherited
detail Detail?
getter/setter pair
features List<FeatureDTO>?
getter/setter pair
group Group?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
highlightRate int?
getter/setter pair
hsCode String?
getter/setter pair
id String?
The ID of the DTO.
getter/setter pairinherited
inStocks List<StockDTO>?
getter/setter pair
isActive bool?
Whether the DTO is active.
getter/setter pairinherited
isDeleted bool?
Whether the DTO has been deleted.
getter/setter pairinherited
modelCode String?
getter/setter pair
outStocks List<StockDTO>?
getter/setter pair
photos List<ProductPhotoHolder>?
getter/setter pair
prices List<ProductPriceDTO>?
getter/setter pair
products List<ProductDTO>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showInHome bool?
getter/setter pair
showInHot bool?
getter/setter pair
showInList bool?
getter/setter pair
sides List<ProductDTO>?
getter/setter pair
sortIndex int?
getter/setter pair
stocks List<StockDTO>?
getter/setter pair
tags List<TagDTO>?
getter/setter pair
type String?
getter/setter pair
updatedAt String?
The time when the DTO was last updated.
getter/setter pairinherited
useStock bool?
getter/setter pair
variant1 String?
getter/setter pair
variant2 String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the BaseDTO to a JSON object.
override
toString() String
A string representation of this object.
inherited

Operators

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