WeightedVoteOption constructor
WeightedVoteOption({
- VoteOption? option,
- String? weight,
Implementation
factory WeightedVoteOption({
VoteOption? option,
$core.String? weight,
}) {
final _result = create();
if (option != null) {
_result.option = option;
}
if (weight != null) {
_result.weight = weight;
}
return _result;
}