copyWith method

Timing copyWith({
  1. FixedList<DateTime>? event,
  2. Repeat? repeat,
  3. CodeableConcept? code,
})

Creates a deep copy of this Timing.

Implementation

Timing copyWith({
  FixedList<DateTime>? event,
  Repeat? repeat,
  CodeableConcept? code,
}) =>
    Timing(
      event: event ?? this.event,
      repeat: repeat ?? this.repeat,
      code: code ?? this.code,
    );