copyWith method

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

Implementation

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