ContactPoint class

Annotations
  • @freezed

Constructors

ContactPoint({ContactPointSystem? system, @JsonKey(name: '_system') Element? systemElement, String? value, @JsonKey(name: '_value') Element? valueElement, ContactPointUse? use, @JsonKey(name: '_use') Element? useElement, FhirDecimal? rank, @JsonKey(name: '_rank') Element? rankElement, Period? period})
const
factory
ContactPoint.fromJson(Map<String, dynamic> json)
Factory constructor, accepts Map<String, dynamic> as an argument
factory
ContactPoint.fromJsonString(String source)
Acts like a constructor, returns a ContactPoint, accepts a String as an argument, mostly because I got tired of typing it out
factory
ContactPoint.fromYaml(dynamic yaml)
Factory constructor, accepts a String in YAML format as an argument
factory

Properties

copyWith → $ContactPointCopyWith<ContactPoint>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
period Period?
no setterinherited
rank FhirDecimal?
no setterinherited
rankElement Element?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
system ContactPointSystem?
no setterinherited
systemElement Element?
no setterinherited
use ContactPointUse?
no setterinherited
useElement Element?
no setterinherited
value String?
no setterinherited
valueElement 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
updatePeriod(Period period) ContactPoint
updateRank(FhirDecimal rank) ContactPoint
updateSystem(ContactPointSystem system) ContactPoint
updateUse(ContactPointUse use) ContactPoint
updateValue(String value) ContactPoint

Operators

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