copyWith method

StudentLoanRepaymentModel copyWith({
  1. String? type,
  2. double? nonRepaymentMonths,
  3. double? repaymentMonths,
})

Implementation

StudentLoanRepaymentModel copyWith(
    {String? type, double? nonRepaymentMonths, double? repaymentMonths}) {
  return StudentLoanRepaymentModel(
      type: type ?? this.type,
      nonRepaymentMonths: nonRepaymentMonths ?? this.nonRepaymentMonths,
      repaymentMonths: repaymentMonths ?? this.repaymentMonths);
}