copyWith method
Implementation
CashFlowPayment copyWith({
DateTime? postDate,
double? value,
bool? isKnown,
double? weighting,
String? label,
double? interest,
bool? isInterestCapitalised,
DayCountFactor? periodFactor,
}) =>
CashFlowPayment(
postDate: postDate ?? this.postDate,
value: value ?? this.value,
isKnown: isKnown ?? this.isKnown,
weighting: weighting ?? this.weighting,
label: label ?? this.label,
interest: interest ?? this.interest,
isInterestCapitalised:
isInterestCapitalised ?? this.isInterestCapitalised,
periodFactor: periodFactor ?? this.periodFactor,
);