copyWith method

CommunityPosts copyWith({
  1. CommunityFeed? feed,
  2. List<Post?>? posts,
})

Implementation

CommunityPosts copyWith({
  CommunityFeed? feed,
  List<Post?>? posts,
}) {
  return CommunityPosts(
    feed: feed ?? this.feed,
    posts: posts ?? this.posts,
  );
}