onReattempt property
A callback triggered when the response of a request has a status code which is present in the reattemptForStatusCodes list.
Implementation
void Function(http.Request request, int statusCode)? onReattempt;
A callback triggered when the response of a request has a status code which is present in the reattemptForStatusCodes list.
void Function(http.Request request, int statusCode)? onReattempt;