fromBytes method

DeployContractAttachment fromBytes(
  1. dynamic bytes
)

Implementation

DeployContractAttachment fromBytes(bytes) {
  ProtoDeployContractAttachment protoAttachment =
      ProtoDeployContractAttachment.fromBuffer(bytes);
  this.codeHash = protoAttachment.codeHash;
  this.args = protoAttachment.args;
  return this;
}