MsgEditValidator constructor

MsgEditValidator({
  1. Description? description,
  2. String? validatorAddress,
  3. String? commissionRate,
  4. String? minSelfDelegation,
})

Implementation

factory MsgEditValidator({
  $7.Description? description,
  $core.String? validatorAddress,
  $core.String? commissionRate,
  $core.String? minSelfDelegation,
}) {
  final _result = create();
  if (description != null) {
    _result.description = description;
  }
  if (validatorAddress != null) {
    _result.validatorAddress = validatorAddress;
  }
  if (commissionRate != null) {
    _result.commissionRate = commissionRate;
  }
  if (minSelfDelegation != null) {
    _result.minSelfDelegation = minSelfDelegation;
  }
  return _result;
}