copyWith method

Update copyWith({
  1. ProposedProtocolParameterUpdates? proposedProtocolParameterUpdates,
  2. int? epoch,
})

Implementation

Update copyWith({
  ProposedProtocolParameterUpdates? proposedProtocolParameterUpdates,
  int? epoch,
}) {
  return Update(
    proposedProtocolParameterUpdates:
        proposedProtocolParameterUpdates ??
        this.proposedProtocolParameterUpdates,
    epoch: epoch ?? this.epoch,
  );
}