ValidatorCurrentRewards constructor
Implementation
factory ValidatorCurrentRewards({
$core.Iterable<$2.DecCoin>? rewards,
$fixnum.Int64? period,
}) {
final _result = create();
if (rewards != null) {
_result.rewards.addAll(rewards);
}
if (period != null) {
_result.period = period;
}
return _result;
}