bool commitTransaction(int txnId) => _captureSync( 'commitTransaction', () => _native.transactionCommit(txnId), failed: (value) => !value, );