copyWith method
Repeat
copyWith({
- Duration? boundsDuration,
- Range? boundsRange,
- Period? boundsPeriod,
- int? count,
- int? countMax,
- num? duration,
- num? durationMax,
- String? durationUnit,
- int? frequency,
- int? frequencyMax,
- num? period,
- num? periodMax,
- String? periodUnit,
- FixedList<
String> ? dayOfWeek, - FixedList<
Time> ? timeOfDay, - FixedList<
String> ? when, - int? offset,
Creates a deep copy of this Repeat instance.
Implementation
Repeat copyWith({
Duration? boundsDuration,
Range? boundsRange,
Period? boundsPeriod,
int? count,
int? countMax,
num? duration,
num? durationMax,
String? durationUnit,
int? frequency,
int? frequencyMax,
num? period,
num? periodMax,
String? periodUnit,
FixedList<String>? dayOfWeek,
FixedList<Time>? timeOfDay,
FixedList<String>? when,
int? offset,
}) =>
Repeat(
boundsDuration: boundsDuration ?? this.boundsDuration,
boundsRange: boundsRange ?? this.boundsRange,
boundsPeriod: boundsPeriod ?? this.boundsPeriod,
count: count ?? this.count,
countMax: countMax ?? this.countMax,
duration: duration ?? this.duration,
durationMax: durationMax ?? this.durationMax,
durationUnit: durationUnit ?? this.durationUnit,
frequency: frequency ?? this.frequency,
frequencyMax: frequencyMax ?? this.frequencyMax,
period: period ?? this.period,
periodMax: periodMax ?? this.periodMax,
periodUnit: periodUnit ?? this.periodUnit,
dayOfWeek: dayOfWeek ?? this.dayOfWeek,
timeOfDay: timeOfDay ?? this.timeOfDay,
when: when ?? this.when,
offset: offset ?? this.offset,
);