Timing constructor
Timing({
- FixedList<
DateTime> ? event, - Repeat? repeat,
- CodeableConcept? code,
Creates a new Timing instance.
Implementation
Timing({
FixedList<DateTime>? event,
Repeat? repeat,
CodeableConcept? code,
}) : this.fromJson(
JsonObject({
if (event != null)
eventField.name: JsonArray.unmodifiable(
event.map((e) => JsonString(e.toIso8601String())),
),
if (repeat != null) repeatField.name: repeat.json,
if (code != null) codeField.name: code.json,
}),
);