QueryDelegationTotalRewardsResponse constructor
QueryDelegationTotalRewardsResponse({
- Iterable<
DelegationDelegatorReward> ? rewards, - Iterable<
DecCoin> ? total,
Implementation
factory QueryDelegationTotalRewardsResponse({
$core.Iterable<$3.DelegationDelegatorReward>? rewards,
$core.Iterable<$2.DecCoin>? total,
}) {
final _result = create();
if (rewards != null) {
_result.rewards.addAll(rewards);
}
if (total != null) {
_result.total.addAll(total);
}
return _result;
}