Skip to content

Instantly share code, notes, and snippets.

@alperefesahin
Created February 2, 2022 05:40
Show Gist options
  • Save alperefesahin/a66dd25815ff5232f40b67915dffd280 to your computer and use it in GitHub Desktop.
Save alperefesahin/a66dd25815ff5232f40b67915dffd280 to your computer and use it in GitHub Desktop.
part of 'auth_cubit.dart';
class AuthState extends Equatable {
const AuthState({required this.isSignedIn});
final bool isSignedIn;
@override
List<Object> get props => [isSignedIn];
}
AuthState copyWith({required bool isSignedIn}) {
return AuthState(isSignedIn: isSignedIn);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment