copyWith method
MemberProfileModel
copyWith({
- String? documentID,
- String? appId,
- String? feedId,
- String? authorId,
- String? profile,
- MemberMediumModel? profileBackground,
- String? profileOverride,
- String? nameOverride,
- MemberProfileAccessibleByGroup? accessibleByGroup,
- List<
String> ? accessibleByMembers, - List<
String> ? readAccess, - List<
MemberMediumContainerModel> ? memberMedia,
override
Implementation
@override
MemberProfileModel copyWith({
String? documentID,
String? appId,
String? feedId,
String? authorId,
String? profile,
MemberMediumModel? profileBackground,
String? profileOverride,
String? nameOverride,
MemberProfileAccessibleByGroup? accessibleByGroup,
List<String>? accessibleByMembers,
List<String>? readAccess,
List<MemberMediumContainerModel>? memberMedia,
}) {
return MemberProfileModel(
documentID: documentID ?? this.documentID,
appId: appId ?? this.appId,
feedId: feedId ?? this.feedId,
authorId: authorId ?? this.authorId,
profile: profile ?? this.profile,
profileBackground: profileBackground ?? this.profileBackground,
profileOverride: profileOverride ?? this.profileOverride,
nameOverride: nameOverride ?? this.nameOverride,
accessibleByGroup: accessibleByGroup ?? this.accessibleByGroup,
accessibleByMembers: accessibleByMembers ?? this.accessibleByMembers,
readAccess: readAccess ?? this.readAccess,
memberMedia: memberMedia ?? this.memberMedia,
);
}