copyWith method

PoolRetirement copyWith({
  1. Ed25519KeyHash? poolKeyHash,
  2. int? epoch,
})

Implementation

PoolRetirement copyWith({
  Ed25519KeyHash? poolKeyHash,
  int? epoch,
}) {
  return PoolRetirement(
      poolKeyHash: poolKeyHash ?? this.poolKeyHash,
      epoch: epoch ?? this.epoch);
}