copyWith method
MemberProfileEntity
copyWith(
{ - String? documentID,
- String? appId,
- String? feedId,
- String? authorId,
- String? profile,
- String? profileBackgroundId,
- String? profileOverride,
- String? nameOverride,
- int? accessibleByGroup,
- List<String>? accessibleByMembers,
- List<String>? readAccess,
- List<MemberMediumContainerEntity>? memberMedia,
})
Implementation
MemberProfileEntity copyWith({
String? documentID,
String? appId,
String? feedId,
String? authorId,
String? profile,
String? profileBackgroundId,
String? profileOverride,
String? nameOverride,
int? accessibleByGroup,
List<String>? accessibleByMembers,
List<String>? readAccess,
List<MemberMediumContainerEntity>? memberMedia,
}) {
return MemberProfileEntity(
appId: appId ?? this.appId,
feedId: feedId ?? this.feedId,
authorId: authorId ?? this.authorId,
profile: profile ?? this.profile,
profileBackgroundId: profileBackgroundId ?? this.profileBackgroundId,
profileOverride: profileOverride ?? this.profileOverride,
nameOverride: nameOverride ?? this.nameOverride,
accessibleByGroup: accessibleByGroup ?? this.accessibleByGroup,
accessibleByMembers: accessibleByMembers ?? this.accessibleByMembers,
readAccess: readAccess ?? this.readAccess,
memberMedia: memberMedia ?? this.memberMedia,
);
}