ContactPoint constructor
Constructs a new ContactPoint with optional extension, system, value and use.
Implementation
ContactPoint({
FixedList<Extension>? extension,
String? system,
String? value,
String? use,
}) : this.fromJson(
JsonObject({
if (extension != null)
extensionField.name:
JsonArray.unmodifiable(extension.map((e) => e.json)),
if (system != null) systemField.name: JsonString(system),
if (value != null) valueField.name: JsonString(value),
if (use != null) useField.name: JsonString(use),
}),
);