copyWith method
A copy with the given fields replaced.
Implementation
NmSchedule copyWith({String? frequency, String? timezone, String? windowStart, String? windowEnd, int? jitterMinutes, int? staleAfterHours}) => NmSchedule(
frequency: frequency ?? this.frequency,
timezone: timezone ?? this.timezone,
windowStart: windowStart ?? this.windowStart,
windowEnd: windowEnd ?? this.windowEnd,
jitterMinutes: jitterMinutes ?? this.jitterMinutes,
staleAfterHours: staleAfterHours ?? this.staleAfterHours,
);