DaoProduct class Null safety
Where we store the products as "barcode => product".
Constructors
- DaoProduct(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
-
get(
String barcode) → Future -
getAll(
Iterable< String> barcodes) → Future<Map< String, dynamic> > -
init(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
put(
dynamic product) → Future< void> -
putAll(
Iterable products) → Future< void> -
registerAdapter(
) → void -
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited