copyWithWrapped method

TransferRecurringSchedule copyWithWrapped({
  1. Wrapped<TransferScheduleIntervalUnit?>? intervalUnit,
  2. Wrapped<int?>? intervalCount,
  3. Wrapped<int?>? intervalExecutionDay,
  4. Wrapped<DateTime?>? startDate,
  5. Wrapped<DateTime?>? endDate,
})

Implementation

TransferRecurringSchedule copyWithWrapped(
    {Wrapped<enums.TransferScheduleIntervalUnit?>? intervalUnit,
    Wrapped<int?>? intervalCount,
    Wrapped<int?>? intervalExecutionDay,
    Wrapped<DateTime?>? startDate,
    Wrapped<DateTime?>? endDate}) {
  return TransferRecurringSchedule(
      intervalUnit:
          (intervalUnit != null ? intervalUnit.value : this.intervalUnit),
      intervalCount:
          (intervalCount != null ? intervalCount.value : this.intervalCount),
      intervalExecutionDay: (intervalExecutionDay != null
          ? intervalExecutionDay.value
          : this.intervalExecutionDay),
      startDate: (startDate != null ? startDate.value : this.startDate),
      endDate: (endDate != null ? endDate.value : this.endDate));
}