addToFhirTime function
FhirTime
addToFhirTime(
- FhirTime fhirTime,
- ValidatedQuantity validatedQuantity
Implementation
FhirTime addToFhirTime(
FhirTime fhirTime,
ValidatedQuantity validatedQuantity,
) =>
fhirTime.plus(
hours: validatedQuantity.hours?.toInt() ?? 0,
minutes: validatedQuantity.minutes?.toInt() ?? 0,
seconds: validatedQuantity.seconds?.toInt() ?? 0,
milliseconds: validatedQuantity.milliseconds?.toInt() ?? 0,
);