hasNotTerminatedOperations method

bool hasNotTerminatedOperations(
  1. String barcode
)

Returns true if some actions have not been terminated.

Implementation

bool hasNotTerminatedOperations(String barcode) {
  final Iterable<TransientOperation> actions = getSortedOperations(barcode);
  return actions.isNotEmpty;
}