copyWith method
Implementation
MonthSummary copyWith(
{DateTime? month,
String? note,
num? income,
num? budgeted,
num? activity,
num? toBeBudgeted,
int? ageOfMoney,
bool? deleted}) {
return MonthSummary(
month: month ?? this.month,
note: note ?? this.note,
income: income ?? this.income,
budgeted: budgeted ?? this.budgeted,
activity: activity ?? this.activity,
toBeBudgeted: toBeBudgeted ?? this.toBeBudgeted,
ageOfMoney: ageOfMoney ?? this.ageOfMoney,
deleted: deleted ?? this.deleted);
}