copyWith method

CodeableConcept copyWith({
  1. FixedList<Coding>? coding,
  2. String? text,
})

Makes a copy of this CodeableConcept and allows for non-destructive mutation.

Implementation

CodeableConcept copyWith({
  FixedList<Coding>? coding,
  String? text,
}) =>
    CodeableConcept(
      coding: coding ?? this.coding,
      text: text ?? this.text,
    );