AuthChecker.statusCodes constructor
statusCodes checker
it will categorize only given status codes as unauthorized.
note: it will ignore errors with null DioError.response
.
note: it will ignore error type of other than DioErrorType.response
.
note: it will ignore null status code.
Implementation
const factory AuthChecker.statusCodes(
Set<int> statusCodes,
) = AuthCheckerStatusCodesImpl;