QueryProposalsRequest constructor
QueryProposalsRequest({
- ProposalStatus? proposalStatus,
- String? voter,
- String? depositor,
- PageRequest? pagination,
Implementation
factory QueryProposalsRequest({
$6.ProposalStatus? proposalStatus,
$core.String? voter,
$core.String? depositor,
$7.PageRequest? pagination,
}) {
final _result = create();
if (proposalStatus != null) {
_result.proposalStatus = proposalStatus;
}
if (voter != null) {
_result.voter = voter;
}
if (depositor != null) {
_result.depositor = depositor;
}
if (pagination != null) {
_result.pagination = pagination;
}
return _result;
}