Age class
Constructors
-
Age({FhirDecimal? value, @JsonKey(name: '_value') Element? valueElement, QuantityComparator? comparator, @JsonKey(name: '_comparator') Element? comparatorElement, String? unit, @JsonKey(name: '_unit') Element? unitElement, String? system, @JsonKey(name: '_system') Element? systemElement, FhirCode? code, @JsonKey(name: '_code') Element? codeElement})
-
const
factory
-
Age.fromJson(Map<String, dynamic> json)
-
Factory constructor, accepts Map<String, dynamic> as an argument
factory
-
Age.fromJsonString(String source)
-
Acts like a constructor, returns a Age, accepts a
String as an argument, mostly because I got tired of typing it out
factory
-
Age.fromYaml(dynamic yaml)
-
Factory constructor, accepts a String in YAML format as an argument
factory
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson()
→ Map<String, dynamic>
-
inherited
-
toJsonString()
→ String
-
Another convenience method because more and more I'm transmitting FHIR
data as a String and not a Map
-
toString()
→ String
-
A string representation of this object.
inherited
-
toYaml()
→ String
-
Produces a Yaml formatted String version of the object