copyWithWrapped method

BankTransferListRequest copyWithWrapped({
  1. Wrapped<String?>? clientId,
  2. Wrapped<String?>? secret,
  3. Wrapped<DateTime?>? startDate,
  4. Wrapped<DateTime?>? endDate,
  5. Wrapped<int?>? count,
  6. Wrapped<int?>? offset,
  7. Wrapped<String?>? originationAccountId,
  8. Wrapped<BankTransferDirection?>? direction,
})

Implementation

BankTransferListRequest copyWithWrapped(
    {Wrapped<String?>? clientId,
    Wrapped<String?>? secret,
    Wrapped<DateTime?>? startDate,
    Wrapped<DateTime?>? endDate,
    Wrapped<int?>? count,
    Wrapped<int?>? offset,
    Wrapped<String?>? originationAccountId,
    Wrapped<enums.BankTransferDirection?>? direction}) {
  return BankTransferListRequest(
      clientId: (clientId != null ? clientId.value : this.clientId),
      secret: (secret != null ? secret.value : this.secret),
      startDate: (startDate != null ? startDate.value : this.startDate),
      endDate: (endDate != null ? endDate.value : this.endDate),
      count: (count != null ? count.value : this.count),
      offset: (offset != null ? offset.value : this.offset),
      originationAccountId: (originationAccountId != null
          ? originationAccountId.value
          : this.originationAccountId),
      direction: (direction != null ? direction.value : this.direction));
}