copyWith method

CreditEmploymentVerification copyWith({
  1. String? accountId,
  2. String? status,
  3. DateTime? startDate,
  4. DateTime? endDate,
  5. CreditEmployerVerification? employer,
  6. String? title,
  7. CreditPlatformIds? platformIds,
  8. String? employeeType,
  9. DateTime? lastPaystubDate,
})

Implementation

CreditEmploymentVerification copyWith(
    {String? accountId,
    String? status,
    DateTime? startDate,
    DateTime? endDate,
    CreditEmployerVerification? employer,
    String? title,
    CreditPlatformIds? platformIds,
    String? employeeType,
    DateTime? lastPaystubDate}) {
  return CreditEmploymentVerification(
      accountId: accountId ?? this.accountId,
      status: status ?? this.status,
      startDate: startDate ?? this.startDate,
      endDate: endDate ?? this.endDate,
      employer: employer ?? this.employer,
      title: title ?? this.title,
      platformIds: platformIds ?? this.platformIds,
      employeeType: employeeType ?? this.employeeType,
      lastPaystubDate: lastPaystubDate ?? this.lastPaystubDate);
}