copyWith method
AuxiliaryData
copyWith({
- GeneralTransactionMetadata? metadata,
- List<
NativeScript> ? nativeScripts, - List<
PlutusScript> ? plutusScripts, - bool? preferAlonzoFormat,
Implementation
AuxiliaryData copyWith({
GeneralTransactionMetadata? metadata,
List<NativeScript>? nativeScripts,
List<PlutusScript>? plutusScripts,
bool? preferAlonzoFormat,
}) {
return AuxiliaryData(
metadata: metadata ?? this.metadata,
nativeScripts: nativeScripts ?? this.nativeScripts,
plutusScripts: plutusScripts ?? this.plutusScripts,
preferAlonzoFormat: preferAlonzoFormat ?? this.preferAlonzoFormat,
);
}