isRedirect property

  1. @override
bool get isRedirect
override

Returns whether the status code is one of the normal redirect codes HttpStatus.movedPermanently, HttpStatus.found, HttpStatus.movedTemporarily, HttpStatus.seeOther and HttpStatus.temporaryRedirect.

Implementation

@override
bool get isRedirect => _httpClientResponse.isRedirect;