ProposalDeleteContract.deserialize constructor

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

Implementation

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