copyWith method

Thread copyWith({
  1. Authorperm? authorperm,
  2. Comment? parent,
  3. List<Authorperm>? replies,
})

Implementation

Thread copyWith({
  Authorperm? authorperm,
  Comment? parent,
  List<Authorperm>? replies,
}) {
  return Thread(
    authorperm: authorperm ?? this.authorperm,
    parent: parent ?? this.parent,
    replies: replies ?? this.replies,
  );
}