VoteAssetContract constructor
VoteAssetContract({})
Implementation
factory VoteAssetContract({
$core.String? ownerAddress,
$core.Iterable<$core.String>? voteAddress,
$core.bool? support,
$core.int? count,
}) {
final _result = create();
if (ownerAddress != null) {
_result.ownerAddress = ownerAddress;
}
if (voteAddress != null) {
_result.voteAddress.addAll(voteAddress);
}
if (support != null) {
_result.support = support;
}
if (count != null) {
_result.count = count;
}
return _result;
}