You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to retry if the returned object meets a condition.
Example:
final response =awaitretry(
// Make a GET request
() => http.get('https://google.com'),
// Retry on Exception
retryIf: (e) => e isSocketException,
retryIfReturnedObject: (o) => o =="retry-please"
);