MessageHeaderSource class

Annotations
  • @freezed

Constructors

MessageHeaderSource({@JsonKey(name: 'id') FhirId? fhirId, @JsonKey(name: 'extension') List<FhirExtension>? extension_, List<FhirExtension>? modifierExtension, String? name, @JsonKey(name: '_name') Element? nameElement, String? software, @JsonKey(name: '_software') Element? softwareElement, String? version, @JsonKey(name: '_version') Element? versionElement, ContactPoint? contact, required FhirUri endpoint, @JsonKey(name: '_endpoint') Element? endpointElement})
const
factory
MessageHeaderSource.fromJson(Map<String, dynamic> json)
Factory constructor, accepts Map<String, dynamic> as an argument
factory
MessageHeaderSource.fromJsonString(String source)
Acts like a constructor, returns a MessageHeaderSource, accepts a String as an argument, mostly because I got tired of typing it out
factory
MessageHeaderSource.fromYaml(dynamic yaml)
Factory constructor, accepts a String in YAML format as an argument
factory

Properties

contact ContactPoint?
no setterinherited
copyWith → $MessageHeaderSourceCopyWith<MessageHeaderSource>
no setterinherited
endpoint FhirUri
no setterinherited
endpointElement Element?
no setterinherited
extension_ List<FhirExtension>?
no setterinherited
fhirId FhirId?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
modifierExtension List<FhirExtension>?
no setterinherited
name String?
no setterinherited
nameElement Element?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
software String?
no setterinherited
softwareElement Element?
no setterinherited
version String?
no setterinherited
versionElement 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
updateContactPointPeriod(Period period) MessageHeaderSource
updateContactPointRank(FhirPositiveInt rank) MessageHeaderSource
updateContactPointSystem(ContactPointSystem system) MessageHeaderSource
updateContactPointUse(ContactPointUse use) MessageHeaderSource
updateContactPointValue(String value) MessageHeaderSource

Operators

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