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