FhirInstant constructor

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

Implementation

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