QueryDelegationRewardsResponse constructor

QueryDelegationRewardsResponse({
  1. Iterable<DecCoin>? rewards,
})

Implementation

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