MsgVoteWeighted constructor
MsgVoteWeighted({
- Int64? proposalId,
- String? voter,
- Iterable<
WeightedVoteOption> ? options,
Implementation
factory MsgVoteWeighted({
$fixnum.Int64? proposalId,
$core.String? voter,
$core.Iterable<$6.WeightedVoteOption>? options,
}) {
final _result = create();
if (proposalId != null) {
_result.proposalId = proposalId;
}
if (voter != null) {
_result.voter = voter;
}
if (options != null) {
_result.options.addAll(options);
}
return _result;
}