copyWith method
Implementation
SeriesPayment copyWith({
int? numberOf,
Frequency? frequency,
String? label,
double? value,
DateTime? postDateFrom,
Mode? mode,
double? weighting,
bool? isInterestCapitalised,
}) =>
SeriesPayment(
numberOf: numberOf ?? this.numberOf,
frequency: frequency ?? this.frequency,
label: label ?? this.label,
value: value ?? this.value,
postDateFrom: postDateFrom ?? this.postDateFrom,
mode: mode ?? this.mode,
weighting: weighting ?? this.weighting,
isInterestCapitalised:
isInterestCapitalised ?? this.isInterestCapitalised,
);