ElementDefinitionConstraint class

Annotations
  • @freezed

Constructors

ElementDefinitionConstraint({String? key, @JsonKey(name: '_key') Element? keyElement, String? requirements, @JsonKey(name: '_requirements') Element? requirementsElement, ElementDefinitionConstraintSeverity? severity, @JsonKey(name: '_severity') Element? severityElement, String? human, @JsonKey(name: '_human') Element? humanElement, String? expression, @JsonKey(name: '_expression') Element? expressionElement, String? xpath, @JsonKey(name: '_xpath') Element? xpathElement, String? source, @JsonKey(name: '_source') Element? sourceElement})
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

Properties

copyWith → $ElementDefinitionConstraintCopyWith<ElementDefinitionConstraint>
no setterinherited
expression String?
no setterinherited
expressionElement Element?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
human String?
no setterinherited
humanElement Element?
no setterinherited
key String?
no setterinherited
keyElement Element?
no setterinherited
requirements String?
no setterinherited
requirementsElement Element?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
severity ElementDefinitionConstraintSeverity?
no setterinherited
severityElement Element?
no setterinherited
source String?
no setterinherited
sourceElement Element?
no setterinherited
xpath String?
no setterinherited
xpathElement Element?
no setterinherited

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

Operators

operator ==(Object other) bool
The equality operator.
inherited