retry method
Retry the last failed operation
Implementation
Future<void> retry() async {
if (_state.value.isError && _recoveryFunction != null) {
await execute(_recoveryFunction!);
}
}
Retry the last failed operation
Future<void> retry() async {
if (_state.value.isError && _recoveryFunction != null) {
await execute(_recoveryFunction!);
}
}