copyWith method
Implementation
PollVoters copyWith({
int? totalCount,
List<PollVoter>? voters,
}) =>
PollVoters(
totalCount: totalCount ?? this.totalCount,
voters: voters ?? this.voters,
);
PollVoters copyWith({
int? totalCount,
List<PollVoter>? voters,
}) =>
PollVoters(
totalCount: totalCount ?? this.totalCount,
voters: voters ?? this.voters,
);