copyWith method
Implementation
InflowModel copyWith(
{String? type,
double? incomeAmount,
double? paymentDayOfMonth,
String? transactionName,
String? statementDayOfMonth}) {
return InflowModel(
type: type ?? this.type,
incomeAmount: incomeAmount ?? this.incomeAmount,
paymentDayOfMonth: paymentDayOfMonth ?? this.paymentDayOfMonth,
transactionName: transactionName ?? this.transactionName,
statementDayOfMonth: statementDayOfMonth ?? this.statementDayOfMonth);
}