copyWith method

StakeDelegation copyWith({
  1. StakeCred? stakeCredential,
  2. Ed25519PoolKeyHash? poolKeyHash,
})

Implementation

StakeDelegation copyWith(
    {StakeCred? stakeCredential, Ed25519PoolKeyHash? poolKeyHash}) {
  return StakeDelegation(
      stakeCredential: stakeCredential ?? this.stakeCredential,
      poolKeyHash: poolKeyHash ?? this.poolKeyHash);
}