FhirUuid constructor
FhirUuid(
- dynamic inValue
Implementation
factory FhirUuid(dynamic inValue) => inValue is String &&
RegExp('^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-'
r'[8-9A-B][0-9A-F]{3}-[0-9A-F]{12}$')
.hasMatch(inValue)
? FhirUuid._(inValue, inValue, true)
: FhirUuid._(inValue.toString(), null, false);