DelegationDelegatorReward constructor

DelegationDelegatorReward({
  1. String? validatorAddress,
  2. Iterable<DecCoin>? reward,
})

Implementation

factory DelegationDelegatorReward({
  $core.String? validatorAddress,
  $core.Iterable<$2.DecCoin>? reward,
}) {
  final _result = create();
  if (validatorAddress != null) {
    _result.validatorAddress = validatorAddress;
  }
  if (reward != null) {
    _result.reward.addAll(reward);
  }
  return _result;
}