AuthChecker.general constructor
const
AuthChecker.general(
- bool lambda(
- DioException error
general checker
you will provide a lambda which will check dio errors and return whether is an auth error or not.
Implementation
const factory AuthChecker.general(
bool Function(DioException error) lambda,
) = AuthCheckerGeneralImpl;