isStatusRedirect property

bool get isStatusRedirect

Returns true if is 300-303 or 307-308 status (Redirect).

Implementation

bool get isStatusRedirect =>
    isStatusInRange(300, 303) || isStatusInRange(307, 308);