ProposalApproveContract.deserialize constructor

ProposalApproveContract.deserialize(
  1. List<int> bytes
)

Implementation

factory ProposalApproveContract.deserialize(List<int> bytes) {
  final decode = TronProtocolBufferImpl.decode(bytes);
  return ProposalApproveContract(
      ownerAddress: TronAddress.fromBytes(decode.getField(1)),
      proposalId: decode.getField(2),
      isAddApproval: decode.getField(3));
}