copyWith method

TransferRecurringCreateRequest copyWith({
  1. String? clientId,
  2. String? secret,
  3. String? accessToken,
  4. String? idempotencyKey,
  5. String? accountId,
  6. TransferType? type,
  7. TransferNetwork? network,
  8. ACHClass? achClass,
  9. String? amount,
  10. bool? userPresent,
  11. String? isoCurrencyCode,
  12. String? testClockId,
  13. TransferRecurringSchedule? schedule,
  14. TransferUserInRequest? user,
  15. TransferDevice? device,
})

Implementation

TransferRecurringCreateRequest copyWith(
    {String? clientId,
    String? secret,
    String? accessToken,
    String? idempotencyKey,
    String? accountId,
    enums.TransferType? type,
    enums.TransferNetwork? network,
    enums.ACHClass? achClass,
    String? amount,
    bool? userPresent,
    String? isoCurrencyCode,
    String? testClockId,
    TransferRecurringSchedule? schedule,
    TransferUserInRequest? user,
    TransferDevice? device}) {
  return TransferRecurringCreateRequest(
      clientId: clientId ?? this.clientId,
      secret: secret ?? this.secret,
      accessToken: accessToken ?? this.accessToken,
      idempotencyKey: idempotencyKey ?? this.idempotencyKey,
      accountId: accountId ?? this.accountId,
      type: type ?? this.type,
      network: network ?? this.network,
      achClass: achClass ?? this.achClass,
      amount: amount ?? this.amount,
      userPresent: userPresent ?? this.userPresent,
      isoCurrencyCode: isoCurrencyCode ?? this.isoCurrencyCode,
      testClockId: testClockId ?? this.testClockId,
      schedule: schedule ?? this.schedule,
      user: user ?? this.user,
      device: device ?? this.device);
}