AuthChecker.statusCode constructor
const
AuthChecker.statusCode(
- int statusCode
statusCode checker
it will categorize only given status code as unauthorized.
note: it will ignore errors with null DioException.response
.
note: it will ignore error type of other than DioExceptionType.response
.
note: it will ignore null status code.
Implementation
const factory AuthChecker.statusCode(
int statusCode,
) = AuthCheckerStatusCodeImpl;