copyWith method

ContactPoint copyWith({
  1. FixedList<Extension>? extension,
  2. String? system,
  3. String? value,
  4. String? use,
})

Creates a deep copy of this ContactPoint.

Implementation

ContactPoint copyWith({
  FixedList<Extension>? extension,
  String? system,
  String? value,
  String? use,
}) =>
    ContactPoint(
      extension: extension ?? this.extension,
      system: system ?? this.system,
      value: value ?? this.value,
      use: use ?? this.use,
    );