Created
February 2, 2022 05:50
-
-
Save alperefesahin/a95cc31e346247a17c07d2ce6abb5a0b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
part of 'login_cubit.dart'; | |
@freezed | |
class LoginState with _$LoginState { | |
const factory LoginState.initial( | |
{@Default(Email.pure()) Email email, | |
@Default(Password.pure()) Password password, | |
@Default(FormzStatus) FormzStatus status, | |
@Default('') String exceptionError}) = _Initial; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment