QueryVotesResponse constructor
QueryVotesResponse({
- Iterable<
Vote> ? votes, - PageResponse? pagination,
Implementation
factory QueryVotesResponse({
$core.Iterable<$6.Vote>? votes,
$7.PageResponse? pagination,
}) {
final _result = create();
if (votes != null) {
_result.votes.addAll(votes);
}
if (pagination != null) {
_result.pagination = pagination;
}
return _result;
}