copyWith method

ADATransaction copyWith({
  1. TransactionBody? body,
  2. TransactionWitnessSet? witnessSet,
  3. bool? isValid,
  4. AuxiliaryData? data,
})

Implementation

ADATransaction copyWith({
  TransactionBody? body,
  TransactionWitnessSet? witnessSet,
  bool? isValid,
  AuxiliaryData? data,
}) {
  return ADATransaction(
    body: body ?? this.body,
    witnessSet: witnessSet ?? this.witnessSet,
    isValid: isValid ?? this.isValid,
    data: data ?? this.data,
  );
}