copyWith method

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

Creates a copy of this CodeableReference but with the given fields

Implementation

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