FhirDate.fromYaml constructor

FhirDate.fromYaml(
  1. String yaml, [
  2. DateTimePrecision? precision
])

Implementation

factory FhirDate.fromYaml(String yaml, [DateTimePrecision? precision]) =>
    FhirDate(jsonDecode(jsonEncode(yaml)), precision);