ProductQueryModel class

Inheritance

Constructors

ProductQueryModel({int? page, int? amount, bool? grouped, bool? hot, bool? home, String? storeId, String? campaignId, String? category, List<String>? tags, List<String>? features, ProductSortType? sort, String? campaign, String? brand, String? search})

Properties

amount int?
The amount of items to be fetched in the query.
getter/setter pairinherited
brand String?
The brand slug.
getter/setter pair
campaign String?
The campaign slug.
getter/setter pair
campaignId String?
getter/setter pair
category String?
The category slug.
getter/setter pair
features List<String>?
The feature slugs.
getter/setter pair
grouped bool?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
home bool?
getter/setter pair
hot bool?
getter/setter pair
page int?
The page number for the query.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
getter/setter pair
sort ProductSortType?
getter/setter pair
storeId String?
getter/setter pair
tags List<String>?
The tag slugs.
getter/setter pair

Methods

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

Operators

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