VoteWitnessContract constructor
VoteWitnessContract({
- String? ownerAddress,
- Iterable<
VoteWitnessContract_Vote> ? votes, - bool? support,
Implementation
factory VoteWitnessContract({
$core.String? ownerAddress,
$core.Iterable<VoteWitnessContract_Vote>? votes,
$core.bool? support,
}) {
final _result = create();
if (ownerAddress != null) {
_result.ownerAddress = ownerAddress;
}
if (votes != null) {
_result.votes.addAll(votes);
}
if (support != null) {
_result.support = support;
}
return _result;
}