ResponseUri property

  1. @override
Uri get ResponseUri
override
Gets the URI of the Internet resource that responded to the request.

Implementation

@override
Uri get ResponseUri {
  Uri uri = _webException.Request!.uri;
  for (final redirect in _webException.Response.redirects) {
    uri = uri.resolveUri(redirect.location);
  }
  return uri;
}