AccountUpdateContract.deserialize constructor

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

Implementation

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