copyWith method

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

Implementation

TransferRecurringSchedule copyWith(
    {enums.TransferScheduleIntervalUnit? intervalUnit,
    int? intervalCount,
    int? intervalExecutionDay,
    DateTime? startDate,
    DateTime? endDate}) {
  return TransferRecurringSchedule(
      intervalUnit: intervalUnit ?? this.intervalUnit,
      intervalCount: intervalCount ?? this.intervalCount,
      intervalExecutionDay: intervalExecutionDay ?? this.intervalExecutionDay,
      startDate: startDate ?? this.startDate,
      endDate: endDate ?? this.endDate);
}