Params constructor

Params({
  1. String? communityTax,
  2. String? baseProposerReward,
  3. String? bonusProposerReward,
  4. bool? withdrawAddrEnabled,
})

Implementation

factory Params({
  $core.String? communityTax,
  $core.String? baseProposerReward,
  $core.String? bonusProposerReward,
  $core.bool? withdrawAddrEnabled,
}) {
  final _result = create();
  if (communityTax != null) {
    _result.communityTax = communityTax;
  }
  if (baseProposerReward != null) {
    _result.baseProposerReward = baseProposerReward;
  }
  if (bonusProposerReward != null) {
    _result.bonusProposerReward = bonusProposerReward;
  }
  if (withdrawAddrEnabled != null) {
    _result.withdrawAddrEnabled = withdrawAddrEnabled;
  }
  return _result;
}