MsgUpdateAdmin constructor

MsgUpdateAdmin({
  1. String? sender,
  2. String? newAdmin,
  3. String? contract,
})

Implementation

factory MsgUpdateAdmin({
  $core.String? sender,
  $core.String? newAdmin,
  $core.String? contract,
}) {
  final _result = create();
  if (sender != null) {
    _result.sender = sender;
  }
  if (newAdmin != null) {
    _result.newAdmin = newAdmin;
  }
  if (contract != null) {
    _result.contract = contract;
  }
  return _result;
}