12 lines
315 B
Dart
12 lines
315 B
Dart
|
|
part of 'logout_bloc.dart';
|
||
|
|
|
||
|
|
@freezed
|
||
|
|
class LogoutState with _$LogoutState {
|
||
|
|
factory LogoutState({
|
||
|
|
required Option<Either<AuthFailure, Unit>> logoutFailureOrSuccess,
|
||
|
|
@Default(false) bool isLoggingOut,
|
||
|
|
}) = _LogoutState;
|
||
|
|
|
||
|
|
factory LogoutState.initial() => LogoutState(logoutFailureOrSuccess: none());
|
||
|
|
}
|