redirect property

RequestRedirect redirect

Contains the mode for how redirects are handled. It may be one of follow, error, or manual.

MDN reference

Implementation

RequestRedirect get redirect =>
    _storage.of(#redirect, () => RequestRedirect.follow);