copyWith method

StudentLoanStatus copyWith({
  1. DateTime? endDate,
  2. StudentLoanStatusType? type,
})

Implementation

StudentLoanStatus copyWith(
    {DateTime? endDate, enums.StudentLoanStatusType? type}) {
  return StudentLoanStatus(
      endDate: endDate ?? this.endDate, type: type ?? this.type);
}