copyWith method
Implementation
PostCommentEntity copyWith({
String? documentID,
String? postId,
String? postCommentId,
String? memberId,
Object? timestamp,
String? appId,
String? comment,
int? likes,
int? dislikes,
List<MemberMediumEntity>? memberMedia,
}) {
return PostCommentEntity(
postId: postId ?? this.postId,
postCommentId: postCommentId ?? this.postCommentId,
memberId: memberId ?? this.memberId,
timestamp: timestamp ?? this.timestamp,
appId: appId ?? this.appId,
comment: comment ?? this.comment,
likes: likes ?? this.likes,
dislikes: dislikes ?? this.dislikes,
memberMedia: memberMedia ?? this.memberMedia,
);
}