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