new project stable version

This commit is contained in:
2026-05-10 19:11:31 +03:00
commit 3616f84556
391 changed files with 23857 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
import '../../domain/entities/user_profile.dart';
class ProfileState {
final bool isLoading;
final UserProfile? profile;
final String? error;
const ProfileState({
required this.isLoading,
this.profile,
this.error,
});
factory ProfileState.initial() {
return const ProfileState(isLoading: true);
}
ProfileState copyWith({
bool? isLoading,
UserProfile? profile,
String? error,
}) {
return ProfileState(
isLoading: isLoading ?? this.isLoading,
profile: profile ?? this.profile,
error: error,
);
}
}