copyWith method
Creates a deep copy of this Reference.
Implementation
Reference copyWith({
String? reference,
String? type,
String? identifier,
String? display,
}) =>
Reference(
reference: reference ?? this.reference,
type: type ?? this.type,
identifier: identifier ?? this.identifier,
display: display ?? this.display,
);