resolveRollbackTransactionEndpoint method

Uri resolveRollbackTransactionEndpoint(
  1. TransactionInfo info
)

Resolve the rollback transaction endpoint.

Implementation

Uri resolveRollbackTransactionEndpoint(TransactionInfo info) {
  return endpoint.replace(
    pathSegments: [
      ...endpoint.pathSegments,
      'transaction',
      info.id,
      'rollback',
    ],
  );
}