copyWith method

SaveSubTransaction copyWith({
  1. num? amount,
  2. String? payeeId,
  3. String? payeeName,
  4. String? categoryId,
  5. String? memo,
})

Implementation

SaveSubTransaction copyWith(
    {num? amount,
    String? payeeId,
    String? payeeName,
    String? categoryId,
    String? memo}) {
  return SaveSubTransaction(
      amount: amount ?? this.amount,
      payeeId: payeeId ?? this.payeeId,
      payeeName: payeeName ?? this.payeeName,
      categoryId: categoryId ?? this.categoryId,
      memo: memo ?? this.memo);
}