redirected property
bool
redirected
Indicates whether or not the response is the result of a redirect (that is, its URL list has more than one entry).
Implementation
bool get redirected =>
switch (_storage[#redirected]) { bool value => value, _ => false };