copyWithWrapped method

TransferSweepListRequest 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?>? originatorClientId,
})

Implementation

TransferSweepListRequest copyWithWrapped(
    {Wrapped<String?>? clientId,
    Wrapped<String?>? secret,
    Wrapped<DateTime?>? startDate,
    Wrapped<DateTime?>? endDate,
    Wrapped<int?>? count,
    Wrapped<int?>? offset,
    Wrapped<String?>? originatorClientId}) {
  return TransferSweepListRequest(
      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),
      originatorClientId: (originatorClientId != null
          ? originatorClientId.value
          : this.originatorClientId));
}