ProductList class Null safety

Constructors

ProductList.categorySearch(String category, {required int pageSize, required int pageNumber})
ProductList.history()
ProductList.keywordSearch(String keywords, {required int pageSize, required int pageNumber})
ProductList.scanSession()
ProductList.user(String name)

Properties

barcodes List<String>
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
listType ProductListType
final
pageNumber int?
Page number at query time.
final
pageSize int?
Page size at query time.
final
parameters String
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
totalSize int
"Total size" returned by the query.
read / write

Methods

getList() List
getParametersKey() String
getProduct(String barcode) → dynamic
isEmpty() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
refresh(dynamic product) → void
remove(String barcode) bool
Removes a barcode from the list [...]
set(List<String> barcodes, Map<String, dynamic> products) → void
setAll(List products) → void
Sets all products with the same order as the input list
toString() String
A string representation of this object. [...]
inherited

Operators

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