copyWithWrapped method

StudentLoanStatus copyWithWrapped({
  1. Wrapped<DateTime?>? endDate,
  2. Wrapped<StudentLoanStatusType?>? type,
})

Implementation

StudentLoanStatus copyWithWrapped(
    {Wrapped<DateTime?>? endDate,
    Wrapped<enums.StudentLoanStatusType?>? type}) {
  return StudentLoanStatus(
      endDate: (endDate != null ? endDate.value : this.endDate),
      type: (type != null ? type.value : this.type));
}