discontinuedPackage fhir has been discontinued and replaced by fhir_r4.

toYaml method

String toYaml()

Implementation

String toYaml() => _valueString;