copyWith method
ObservationReferenceRange
copyWith({
- Quantity? low,
- Quantity? high,
- CodeableConcept? type,
- FixedList<
CodeableConcept> ? appliesTo, - Range? age,
- String? text,
Creates a copy of this ObservationReferenceRange but with the given fields updated.
Implementation
ObservationReferenceRange copyWith({
Quantity? low,
Quantity? high,
CodeableConcept? type,
FixedList<CodeableConcept>? appliesTo,
Range? age,
String? text,
}) =>
ObservationReferenceRange(
low: low ?? this.low,
high: high ?? this.high,
type: type ?? this.type,
appliesTo: appliesTo ?? this.appliesTo,
age: age ?? this.age,
text: text ?? this.text,
);