copyWithWrapped method

BankTransferSweepListRequest copyWithWrapped({
  1. Wrapped<String?>? clientId,
  2. Wrapped<String?>? secret,
  3. Wrapped<String?>? originationAccountId,
  4. Wrapped<DateTime?>? startTime,
  5. Wrapped<DateTime?>? endTime,
  6. Wrapped<int?>? count,
})

Implementation

BankTransferSweepListRequest copyWithWrapped(
    {Wrapped<String?>? clientId,
    Wrapped<String?>? secret,
    Wrapped<String?>? originationAccountId,
    Wrapped<DateTime?>? startTime,
    Wrapped<DateTime?>? endTime,
    Wrapped<int?>? count}) {
  return BankTransferSweepListRequest(
      clientId: (clientId != null ? clientId.value : this.clientId),
      secret: (secret != null ? secret.value : this.secret),
      originationAccountId: (originationAccountId != null
          ? originationAccountId.value
          : this.originationAccountId),
      startTime: (startTime != null ? startTime.value : this.startTime),
      endTime: (endTime != null ? endTime.value : this.endTime),
      count: (count != null ? count.value : this.count));
}