copyWith method

Feed copyWith({
  1. String? tag,
  2. String? sort,
  3. List<Authorperm>? posts,
  4. List<Authorperm>? comments,
})

Implementation

Feed copyWith({
  String? tag,
  String? sort,
  List<Authorperm>? posts,
  List<Authorperm>? comments,
}) {
  return Feed(
    tag: tag ?? this.tag,
    sort: sort ?? this.sort,
    posts: posts ?? this.posts,
    comments: comments ?? this.comments,
  );
}