copyWith method
PostLikeModel
copyWith({
- String? documentID,
- String? postId,
- String? postCommentId,
- String? memberId,
- DateTime? timestamp,
- String? appId,
- LikeType? likeType,
override
Implementation
@override
PostLikeModel copyWith({
String? documentID,
String? postId,
String? postCommentId,
String? memberId,
DateTime? timestamp,
String? appId,
LikeType? likeType,
}) {
return PostLikeModel(
documentID: documentID ?? this.documentID,
postId: postId ?? this.postId,
postCommentId: postCommentId ?? this.postCommentId,
memberId: memberId ?? this.memberId,
timestamp: timestamp ?? this.timestamp,
appId: appId ?? this.appId,
likeType: likeType ?? this.likeType,
);
}