UpToDateChanges class
Sequence of minimalist product changes.
Constructors
- UpToDateChanges(LocalDatabase localDatabase)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- localDatabase → LocalDatabase
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(
String key, Product product) → Future< void> -
getSortedOperations(
String barcode) → Iterable< TransientOperation> - Returns all the actions related to a barcode, sorted by id.
-
getUpToDateProduct(
Product product) → Product -
hasNotTerminatedOperations(
String barcode) → bool - Returns true if some actions have not been terminated.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
terminate(
String operationKey) → void - Terminates a single operation.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited