# Conflicts:
#	lib/presentation/navigation/app_router.dart
#	pubspec.yaml
This commit is contained in:
2026-08-11 00:14:00 +03:00
parent c9b8d143d1
commit 182be1049b
351 changed files with 24566 additions and 22898 deletions

View File

@@ -1,42 +1,42 @@
import '../../domain/entities/user_profile.dart';
class EditProfileState {
final bool isSaving;
final bool isSuccess;
final bool isLoading;
final UserProfile? profile;
final String? error;
const EditProfileState({
required this.isSaving,
required this.isSuccess,
required this.isLoading,
this.profile,
this.error,
});
factory EditProfileState.initial() {
return const EditProfileState(
isSaving: false,
isSuccess: false,
isLoading: false,
);
}
EditProfileState copyWith({
bool? isSaving,
bool? isSuccess,
bool? isLoading,
UserProfile? profile,
String? error,
}) {
return EditProfileState(
isSaving: isSaving ?? this.isSaving,
isSuccess: isSuccess ?? this.isSuccess,
isLoading: isLoading ?? this.isLoading,
profile: profile ?? this.profile,
error: error,
);
}
}
import '../../domain/entities/user_profile.dart';
class EditProfileState {
final bool isSaving;
final bool isSuccess;
final bool isLoading;
final UserProfile? profile;
final String? error;
const EditProfileState({
required this.isSaving,
required this.isSuccess,
required this.isLoading,
this.profile,
this.error,
});
factory EditProfileState.initial() {
return const EditProfileState(
isSaving: false,
isSuccess: false,
isLoading: false,
);
}
EditProfileState copyWith({
bool? isSaving,
bool? isSuccess,
bool? isLoading,
UserProfile? profile,
String? error,
}) {
return EditProfileState(
isSaving: isSaving ?? this.isSaving,
isSuccess: isSuccess ?? this.isSuccess,
isLoading: isLoading ?? this.isLoading,
profile: profile ?? this.profile,
error: error,
);
}
}