copyWith method
TransactionWitnessSet
copyWith({
- List<
Vkeywitness> ? vKeys, - List<
NativeScript> ? nativeScripts, - List<
BootstrapWitness> ? bootstraps, - List<
PlutusScript> ? plutusScripts, - PlutusList? plutusData,
- List<
Redeemer> ? redeemers,
Implementation
TransactionWitnessSet copyWith({
List<Vkeywitness>? vKeys,
List<NativeScript>? nativeScripts,
List<BootstrapWitness>? bootstraps,
List<PlutusScript>? plutusScripts,
PlutusList? plutusData,
List<Redeemer>? redeemers,
}) {
return TransactionWitnessSet(
vKeys: vKeys ?? this.vKeys,
nativeScripts: nativeScripts ?? this.nativeScripts,
bootstraps: bootstraps ?? this.bootstraps,
plutusScripts: plutusScripts ?? this.plutusScripts,
plutusData: plutusData ?? this.plutusData,
redeemers: redeemers ?? this.redeemers,
);
}