ListModel class Null safety
Constructors
-
ListModel({String? listType, int? listTypeId, int? languageId, int? minPrice, int? maxPrice, String? sortBy, String? keyword, List<
int> ? brandsIDs, List<int> ? categoryIDs, List<int> ? colorIDs, List<int> ? sizeIDs, List<FeatureValue> ? featureValues, bool? hasDiscount, int? storeId, int? zoneId, int? pageIndex, int? rowCount, String? sortProp, String? sortDir}) -
ListModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
brandsIDs
↔ List<
int> ? -
read / write
-
categoryIDs
↔ List<
int> ? -
read / write
-
colorIDs
↔ List<
int> ? -
read / write
-
featureValues
↔ List<
FeatureValue> ? -
read / write
- hasDiscount ↔ bool?
-
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- keyword ↔ String?
-
read / write
- languageId ↔ int?
-
read / write
- listType ↔ String?
-
read / write
- listTypeId ↔ int?
-
read / write
- maxPrice ↔ int?
-
read / write
- minPrice ↔ int?
-
read / write
- pageIndex ↔ int?
-
read / write
- rowCount ↔ int?
-
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
-
sizeIDs
↔ List<
int> ? -
read / write
- sortBy ↔ String?
-
read / write
- sortDir ↔ String?
-
read / write
- sortProp ↔ String?
-
read / write
- storeId ↔ int?
-
read / write
- zoneId ↔ int?
-
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited