FhirDate constructor

FhirDate(
  1. dynamic inValue, [
  2. DateTimePrecision? precision
])

Implementation

factory FhirDate(dynamic inValue, [DateTimePrecision? precision]) =>
    FhirDateTimeBase.constructor<FhirDate>(
        inValue,
        inValue is DateTime
            ? precision ?? DateTimePrecision.yyyy_MM_dd
            : precision) as FhirDate;