AuthCubit constructor
AuthCubit({
- required IAuthTokenStorage tokenStorage,
- INotifierService? notifier,
- String authFailureKey = 'auth_failure',
Implementation
AuthCubit({
required IAuthTokenStorage tokenStorage,
INotifierService? notifier,
String authFailureKey = 'auth_failure',
}) : _tokenStorage = tokenStorage,
_notifier = notifier,
_authFailureKey = authFailureKey,
super(const AuthInitial()) {
_listenForAuthFailures();
}