TransactionRetry constructor
const
TransactionRetry({})
Enables bounded retries only for callbacks safe to repeat after rollback.
Implementation
const TransactionRetry({
this.maxAttempts = 3,
this.timeout = const Duration(seconds: 30),
this.delay = const Duration(milliseconds: 10),
this.maxDelay = const Duration(milliseconds: 250),
});