Skip to content

Instantly share code, notes, and snippets.

@alperefesahin
Created February 2, 2022 05:50
Show Gist options
  • Save alperefesahin/a95cc31e346247a17c07d2ce6abb5a0b to your computer and use it in GitHub Desktop.
Save alperefesahin/a95cc31e346247a17c07d2ce6abb5a0b to your computer and use it in GitHub Desktop.
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