VoteAssetContract.deserialize constructor
Implementation
factory VoteAssetContract.deserialize(List<int> bytes) {
final decode = TronProtocolBufferImpl.decode(bytes);
return VoteAssetContract(
ownerAddress: TronAddress.fromBytes(decode.getField(1)),
voteAddress:
decode.getFields(2).map((e) => TronAddress.fromBytes(e)).toList(),
support: decode.getField(3),
count: decode.getField(5));
}