ProductQueryModel class Null safety
Constructors
- ProductQueryModel(dynamic _supplier)
Properties
-
categories
→ Map<
String, String> -
<Label, Label (count)> Map
final
- currentCategory ↔ String
-
read / write
- displayProducts ↔ List?
-
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- loadingError → String?
-
read-only
- loadingStatus → LoadingStatus
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
-
sortedCategories
→ List<
String> -
Sorted labels
final
- supplier → dynamic
-
read-only
Methods
-
isNotEmpty(
) → bool -
loadFromTop(
) → Future< bool> -
loadNextPage(
) → Future< bool> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
process(
String translationForAll) → void - Sorts the products by category. [...]
-
selectCategory(
String category) → void -
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited