FhirId constructor

FhirId(
  1. dynamic inValue
)

Implementation

factory FhirId(dynamic inValue) =>
    inValue is String && RegExp(r'^[A-Za-z0-9\-\.]{1,64}$').hasMatch(inValue)
        ? FhirId._(inValue, inValue, true)
        : FhirId._(inValue.toString(), null, false);