copyWith method

VoteDelegation copyWith({
  1. Credential? stakeCredential,
  2. DRep? drep,
})

Implementation

VoteDelegation copyWith({Credential? stakeCredential, DRep? drep}) {
  return VoteDelegation(
    stakeCredential: stakeCredential ?? this.stakeCredential,
    drep: drep ?? this.drep,
  );
}