maxRedirects property
The maximum number of redirects to follow when followRedirects is true.
If this number is exceeded the BaseResponse future will signal a
ClientException. Defaults to 5.
Implementation
@override
int get maxRedirects => request.maxRedirects;