ProtoDeployContractAttachment constructor

ProtoDeployContractAttachment({
  1. List<int>? codeHash,
  2. Iterable<List<int>>? args,
})

Implementation

factory ProtoDeployContractAttachment({
  $core.List<$core.int>? codeHash,
  $core.Iterable<$core.List<$core.int>>? args,
}) {
  final _result = create();
  if (codeHash != null) {
    _result.codeHash = codeHash;
  }
  if (args != null) {
    _result.args.addAll(args);
  }
  return _result;
}