DaoProductList class Null safety

Constructors

DaoProductList(dynamic localDatabase)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

clear(dynamic productList) → void
delete(dynamic productList) Future<bool>
export(dynamic productList) Future<Map<String, dynamic>>
Exports a list - typically for debug purposes
get(dynamic productList) Future<void>
Loads the barcodes AND all the products.
getLength(dynamic productList) int
Returns the number of barcodes quickly but without product check.
getTimestamp(dynamic productList) int?
getUserLists({String? withBarcode}) List<String>
Returns the names of the user lists. [...]
init() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
push(dynamic productList, String barcode) → void
Moves a barcode to the end of the list. [...]
put(dynamic productList) → void
registerAdapter() → void
rename(dynamic initialList, String newName) Future
set(dynamic productList, String barcode, bool include) bool
Adds or removes a barcode within a product list (depending on include) [...]
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Methods

getProductListParameters(String key) String
getProductListType(String key) → dynamic