VoteAssetContract constructor
VoteAssetContract({
- required TronAddress ownerAddress,
- required List<
TronAddress> voteAddress, - bool? support,
- int? count,
Create a new VoteAssetContract instance with specified parameters.
Implementation
VoteAssetContract(
{required this.ownerAddress,
required List<TronAddress> voteAddress,
this.support,
this.count})
: voteAddress = List<TronAddress>.unmodifiable(voteAddress);