FhirInteger64.fromYaml constructor
FhirInteger64.fromYaml(
- dynamic yaml
Implementation
factory FhirInteger64.fromYaml(dynamic yaml) => yaml is String
? FhirInteger64.fromJson(jsonDecode(jsonEncode(loadYaml(yaml))))
: yaml is YamlMap
? FhirInteger64.fromJson(jsonDecode(jsonEncode(yaml)))
: throw YamlFormatException<FhirInteger64>(
'FormatException: "$json" is not a valid Yaml string or YamlMap.');