Initial commit

This commit is contained in:
jahongireshonqulov
2025-10-18 09:40:06 +05:00
commit 1bf3e41abe
352 changed files with 16315 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
part of 'profile_bloc.dart';
class ProfileState extends Equatable {
const ProfileState({
required this.isLoading,
required this.readOnly,
this.profileData,
this.hasError,
});
final bool isLoading;
final bool readOnly;
final ProfileResponse? profileData;
final bool? hasError;
ProfileState copyWith({
bool? isLoading,
bool? readOnly,
ProfileResponse? profileData,
bool? hasError,
}) {
return ProfileState(
isLoading: isLoading ?? this.isLoading,
readOnly: readOnly ?? this.readOnly,
profileData: profileData ?? this.profileData,
hasError: hasError ?? this.hasError,
);
}
@override
List<Object?> get props => [isLoading, readOnly, profileData, hasError];
}