copyWith method
      
DepositSwitchGetResponse
copyWith({ 
    
    
- String? depositSwitchId,
- String? targetAccountId,
- String? targetItemId,
- DepositSwitchGetResponseState? state,
- DepositSwitchGetResponseSwitchMethod? switchMethod,
- bool? accountHasMultipleAllocations,
- bool? isAllocatedRemainder,
- double? percentAllocated,
- double? amountAllocated,
- String? employerName,
- String? employerId,
- String? institutionName,
- String? institutionId,
- DateTime? dateCreated,
- DateTime? dateCompleted,
- String? requestId,
Implementation
DepositSwitchGetResponse copyWith(
    {String? depositSwitchId,
    String? targetAccountId,
    String? targetItemId,
    enums.DepositSwitchGetResponseState? state,
    enums.DepositSwitchGetResponseSwitchMethod? switchMethod,
    bool? accountHasMultipleAllocations,
    bool? isAllocatedRemainder,
    double? percentAllocated,
    double? amountAllocated,
    String? employerName,
    String? employerId,
    String? institutionName,
    String? institutionId,
    DateTime? dateCreated,
    DateTime? dateCompleted,
    String? requestId}) {
  return DepositSwitchGetResponse(
      depositSwitchId: depositSwitchId ?? this.depositSwitchId,
      targetAccountId: targetAccountId ?? this.targetAccountId,
      targetItemId: targetItemId ?? this.targetItemId,
      state: state ?? this.state,
      switchMethod: switchMethod ?? this.switchMethod,
      accountHasMultipleAllocations:
          accountHasMultipleAllocations ?? this.accountHasMultipleAllocations,
      isAllocatedRemainder: isAllocatedRemainder ?? this.isAllocatedRemainder,
      percentAllocated: percentAllocated ?? this.percentAllocated,
      amountAllocated: amountAllocated ?? this.amountAllocated,
      employerName: employerName ?? this.employerName,
      employerId: employerId ?? this.employerId,
      institutionName: institutionName ?? this.institutionName,
      institutionId: institutionId ?? this.institutionId,
      dateCreated: dateCreated ?? this.dateCreated,
      dateCompleted: dateCompleted ?? this.dateCompleted,
      requestId: requestId ?? this.requestId);
}