ElementDefinitionConstraint class
Constructors
-
ElementDefinitionConstraint({@JsonKey(name: 'id') FhirId? fhirId, @JsonKey(name: 'extension') List<FhirExtension>? extension_, required FhirId key, @JsonKey(name: '_key') Element? keyElement, String? requirements, @JsonKey(name: '_requirements') Element? requirementsElement, @JsonKey(unknownEnumValue: ConstraintSeverity.unknown) required ConstraintSeverity severity, @JsonKey(name: '_severity') Element? severityElement, required String human, @JsonKey(name: '_human') Element? humanElement, required String xpath, @JsonKey(name: '_xpath') Element? xpathElement})
-
const
factory
-
ElementDefinitionConstraint.fromJson(Map<String, dynamic> json)
-
Factory constructor, accepts Map<String, dynamic> as an argument
factory
-
ElementDefinitionConstraint.fromJsonString(String source)
-
Acts like a constructor, returns a ElementDefinitionConstraint, accepts a
String as an argument, mostly because I got tired of typing it out
factory
-
ElementDefinitionConstraint.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