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