copyWith method
Implementation
Votes copyWith(
{bool? hasVoted, String? self, List<User>? voters, int? votes}) {
return Votes(
hasVoted: hasVoted ?? this.hasVoted,
self: self ?? this.self,
voters: voters ?? this.voters,
votes: votes ?? this.votes,
);
}