FhirInstant.fromYaml constructor

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

Implementation

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