retry method

  1. @override
Future<Response> retry()
inherited

Retry this request. Throws a StateError if this request did not or has yet to fail.

Implementation

@override
Future<Response> retry() {
  _verifyCanRetryManually();
  return clone().send(method);
}