Params constructor

Params({
  1. String? mintDenom,
  2. String? inflationRateChange,
  3. String? inflationMax,
  4. String? inflationMin,
  5. String? goalBonded,
  6. Int64? blocksPerYear,
})

Implementation

factory Params({
  $core.String? mintDenom,
  $core.String? inflationRateChange,
  $core.String? inflationMax,
  $core.String? inflationMin,
  $core.String? goalBonded,
  $fixnum.Int64? blocksPerYear,
}) {
  final _result = create();
  if (mintDenom != null) {
    _result.mintDenom = mintDenom;
  }
  if (inflationRateChange != null) {
    _result.inflationRateChange = inflationRateChange;
  }
  if (inflationMax != null) {
    _result.inflationMax = inflationMax;
  }
  if (inflationMin != null) {
    _result.inflationMin = inflationMin;
  }
  if (goalBonded != null) {
    _result.goalBonded = goalBonded;
  }
  if (blocksPerYear != null) {
    _result.blocksPerYear = blocksPerYear;
  }
  return _result;
}