part of 'user_bloc.dart'; abstract class UserState extends Equatable { @override List get props => []; } class UserInitial extends UserState { UserInitial(); @override List get props => []; } class UserLoading extends UserState { final String? message; UserLoading({this.message}); @override List get props => [message!]; } class SplashScreen extends UserState { @override List get props => []; } class UserError extends UserState { final String? message; UserError({this.message}); @override List get props => []; } class UserLoggedIn extends UserState{ final List? estPersonAssignedArea; final UserData? userData; final String? message; final bool? success; final bool? savedCredentials; UserLoggedIn({this.userData,this.message,this.success,this.savedCredentials, required this.estPersonAssignedArea}); } class VersionLoaded extends UserState { final VersionInfo? versionInfo; final String? apkVersion; final String? username; final String? password; VersionLoaded({this.versionInfo,this.apkVersion, this.password,this.username}); @override List get props => [versionInfo!]; } class UuidLoaded extends UserState{ final String uuid; UuidLoaded({required this.uuid}); @override List get props => [uuid]; } class InternetTimeout extends UserState{ final String message; InternetTimeout({required this.message}); @override List get props => [message]; } class InvalidCredentials extends UserState{ final String message ; InvalidCredentials ({required this.message}); } class LoginErrorState extends UserState{ final String message; LoginErrorState({required this.message}); } class ErrorWithOfflineMode extends UserState{ }