AuthChecker.statusCodes constructor
statusCodes checker
it will categorize only given status codes 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.statusCodes(
Set<int> statusCodes,
) = AuthCheckerStatusCodesImpl;