copyWith method
Implementation
LoggedInWatchingMyProfile copyWith(
{required MemberProfileModel newMemberProfileModel,
double? uploadingBGProgress,
double? uploadingProfilePhotoProgress}) {
return LoggedInWatchingMyProfile(
feedId: feedId,
app: app,
currentMemberProfileModel: newMemberProfileModel,
currentMember: currentMember,
postAccessibleByGroup: postAccessibleByGroup,
postAccessibleByMembers: postAccessibleByMembers,
onlyMyPosts: onlyMyPosts,
uploadingBGProgress: uploadingBGProgress == null
? uploadingBGProgress
: this.uploadingBGProgress,
uploadingProfilePhotoProgress: uploadingProfilePhotoProgress == null
? uploadingProfilePhotoProgress
: this.uploadingProfilePhotoProgress,
);
}