MsgMigrateContract constructor

MsgMigrateContract({
  1. String? sender,
  2. String? contract,
  3. Int64? codeId,
  4. List<int>? msg,
})

Implementation

factory MsgMigrateContract({
  $core.String? sender,
  $core.String? contract,
  $fixnum.Int64? codeId,
  $core.List<$core.int>? msg,
}) {
  final _result = create();
  if (sender != null) {
    _result.sender = sender;
  }
  if (contract != null) {
    _result.contract = contract;
  }
  if (codeId != null) {
    _result.codeId = codeId;
  }
  if (msg != null) {
    _result.msg = msg;
  }
  return _result;
}