FhirMarkdown constructor

FhirMarkdown(
  1. dynamic inValue
)

Implementation

factory FhirMarkdown(dynamic inValue) =>
    inValue is String && RegExp(r'[ \r\n\t\S]+').hasMatch(inValue)
        ? FhirMarkdown._(inValue, inValue, true)
        : FhirMarkdown._(inValue.toString(), null, false);