isTransactionWithSingleOperation method

bool isTransactionWithSingleOperation(
  1. TransactionOperation op
)

Implementation

bool isTransactionWithSingleOperation(TransactionOperation op) {
  var transaction = op.transaction;

  return transaction.length == 1 &&
      !transaction.canPropagate &&
      !op.canPropagate &&
      !transaction.isExecuting;
}