incrementAttempt method
void
incrementAttempt()
Increments the number of times the request has been attempted.
Implementation
void incrementAttempt() => extra['attempt'] = attempt + 1;
Increments the number of times the request has been attempted.
void incrementAttempt() => extra['attempt'] = attempt + 1;