copyWith method

Reference copyWith({
  1. String? reference,
  2. String? type,
  3. String? identifier,
  4. String? display,
})

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,
    );