ProposalCreateContract.deserialize constructor

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

Implementation

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