getSortedOperations method
- String barcode
Returns all the actions related to a barcode, sorted by id.
Implementation
Iterable<TransientOperation> getSortedOperations(String barcode) {
final List<TransientOperation> result = <TransientOperation>[];
result.addAll(_daoTransientProduct.getAll(barcode));
result.sort(OperationType.sort);
return result;
}