Value_UpdateProposal constructor

Value_UpdateProposal({
  1. String? label,
  2. Ratio? fEffective,
  3. UInt32Value? vrfLddCutoff,
  4. UInt32Value? vrfPrecision,
  5. Ratio? vrfBaselineDifficulty,
  6. Ratio? vrfAmplitude,
  7. UInt64Value? chainSelectionKLookback,
  8. Duration? slotDuration,
  9. UInt64Value? forwardBiasedSlotWindow,
  10. UInt64Value? operationalPeriodsPerEpoch,
  11. UInt32Value? kesKeyHours,
  12. UInt32Value? kesKeyMinutes,
})

Implementation

factory Value_UpdateProposal({
  $core.String? label,
  $16.Ratio? fEffective,
  $13.UInt32Value? vrfLddCutoff,
  $13.UInt32Value? vrfPrecision,
  $16.Ratio? vrfBaselineDifficulty,
  $16.Ratio? vrfAmplitude,
  $13.UInt64Value? chainSelectionKLookback,
  $17.Duration? slotDuration,
  $13.UInt64Value? forwardBiasedSlotWindow,
  $13.UInt64Value? operationalPeriodsPerEpoch,
  $13.UInt32Value? kesKeyHours,
  $13.UInt32Value? kesKeyMinutes,
}) {
  final $result = create();
  if (label != null) {
    $result.label = label;
  }
  if (fEffective != null) {
    $result.fEffective = fEffective;
  }
  if (vrfLddCutoff != null) {
    $result.vrfLddCutoff = vrfLddCutoff;
  }
  if (vrfPrecision != null) {
    $result.vrfPrecision = vrfPrecision;
  }
  if (vrfBaselineDifficulty != null) {
    $result.vrfBaselineDifficulty = vrfBaselineDifficulty;
  }
  if (vrfAmplitude != null) {
    $result.vrfAmplitude = vrfAmplitude;
  }
  if (chainSelectionKLookback != null) {
    $result.chainSelectionKLookback = chainSelectionKLookback;
  }
  if (slotDuration != null) {
    $result.slotDuration = slotDuration;
  }
  if (forwardBiasedSlotWindow != null) {
    $result.forwardBiasedSlotWindow = forwardBiasedSlotWindow;
  }
  if (operationalPeriodsPerEpoch != null) {
    $result.operationalPeriodsPerEpoch = operationalPeriodsPerEpoch;
  }
  if (kesKeyHours != null) {
    $result.kesKeyHours = kesKeyHours;
  }
  if (kesKeyMinutes != null) {
    $result.kesKeyMinutes = kesKeyMinutes;
  }
  return $result;
}