CodeInfo constructor

CodeInfo({
  1. Int64? codeId,
  2. List<int>? codeHash,
  3. String? creator,
})

Implementation

factory CodeInfo({
  $fixnum.Int64? codeId,
  $core.List<$core.int>? codeHash,
  $core.String? creator,
}) {
  final _result = create();
  if (codeId != null) {
    _result.codeId = codeId;
  }
  if (codeHash != null) {
    _result.codeHash = codeHash;
  }
  if (creator != null) {
    _result.creator = creator;
  }
  return _result;
}