copyWith method

TransactionSplit copyWith({
  1. TransactionCategory? category,
  2. Money? amount,
})

Implementation

TransactionSplit copyWith({
  TransactionCategory? category,
  Money? amount,
}) =>
    TransactionSplit(
      category: category ?? this.category,
      amount: amount ?? this.amount,
    );