copyWith method

TransactionWitnessSet copyWith({
  1. List<Vkeywitness>? vKeys,
  2. List<NativeScript>? nativeScripts,
  3. List<BootstrapWitness>? bootstraps,
  4. List<PlutusScript>? plutusScripts,
  5. PlutusList? plutusData,
  6. 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,
  );
}