part of 'contact_cubit.dart';

class ContactState extends Equatable {
  final User? user;
  const ContactState._(
    this.user,
  );

const ContactState.initial() : user = null;

const ContactState.contactSend() : this._(null);

const ContactState.contactSent() : this._(null);

const ContactState.contactError() : this._(null);

ContactState userLoaded({required User user}) => _copyWith(user: user);

  @override
  List<Object?> get props => [user];

ContactState _copyWith({
  User? user,
}) {
  return ContactState._(user ?? this.user);
}

}