copyWith method

PostLikeEntity copyWith({
  1. String? documentID,
  2. String? postId,
  3. String? postCommentId,
  4. String? memberId,
  5. Object? timestamp,
  6. String? appId,
  7. int? likeType,
})

Implementation

PostLikeEntity copyWith({
  String? documentID,
  String? postId,
  String? postCommentId,
  String? memberId,
  Object? timestamp,
  String? appId,
  int? likeType,
}) {
  return PostLikeEntity(
    postId: postId ?? this.postId,
    postCommentId: postCommentId ?? this.postCommentId,
    memberId: memberId ?? this.memberId,
    timestamp: timestamp ?? this.timestamp,
    appId: appId ?? this.appId,
    likeType: likeType ?? this.likeType,
  );
}