VoteAssetContract constructor

VoteAssetContract({
  1. required TronAddress ownerAddress,
  2. required List<TronAddress> voteAddress,
  3. bool? support,
  4. 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);