setRecoveryStrategy method
Set a custom recovery strategy.
Implementation
void setRecoveryStrategy(ErrorRecoveryStrategy strategy) {
_strategy = strategy;
logger.log('Recovery strategy changed to: ${strategy.name}');
}
Set a custom recovery strategy.
void setRecoveryStrategy(ErrorRecoveryStrategy strategy) {
_strategy = strategy;
logger.log('Recovery strategy changed to: ${strategy.name}');
}