Address class
- Annotations
-
- @freezed
Constructors
-
Address({@JsonKey(name: 'id') FhirId? fhirId, @JsonKey(name: 'extension') List<
FhirExtension> ? extension_, @JsonKey(name: 'fhir_comments') List<String> ? fhirComments, @JsonKey(unknownEnumValue: AddressUse.unknown) AddressUse? use, @JsonKey(name: '_use') Element? useElement, @JsonKey(unknownEnumValue: AddressType.unknown) AddressType? type, @JsonKey(name: '_type') Element? typeElement, String? text, @JsonKey(name: '_text') Element? textElement, List<String> ? line, @JsonKey(name: '_line') Element? lineElement, String? city, @JsonKey(name: '_city') Element? cityElement, String? district, @JsonKey(name: '_district') Element? districtElement, String? state, @JsonKey(name: '_state') Element? stateElement, String? postalCode, @JsonKey(name: '_postalCode') Element? postalCodeElement, String? country, @JsonKey(name: '_country') Element? countryElement, Period? period}) -
constfactory
-
Address.fromJson(Map<
String, dynamic> json) -
Factory constructor, accepts Map<String, dynamic> as an argument
factory
- Address.fromJsonString(String source)
-
Acts like a constructor, returns a Address, accepts a
String as an argument, mostly because I got tired of typing it out
factory
- Address.fromYaml(dynamic yaml)
-
Factory constructor, accepts a String in YAML format as an argument
factory
Properties
- city → String?
-
no setterinherited
- cityElement → Element?
-
no setterinherited
-
copyWith
→ $AddressCopyWith<
Address> -
no setterinherited
- country → String?
-
no setterinherited
- countryElement → Element?
-
no setterinherited
- district → String?
-
no setterinherited
- districtElement → Element?
-
no setterinherited
-
extension_
→ List<
FhirExtension> ? -
no setterinherited
-
fhirComments
→ List<
String> ? -
no setterinherited
- fhirId → FhirId?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
line
→ List<
String> ? -
no setterinherited
- lineElement → Element?
-
no setterinherited
- period → Period?
-
no setterinherited
- postalCode → String?
-
no setterinherited
- postalCodeElement → Element?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → String?
-
no setterinherited
- stateElement → Element?
-
no setterinherited
- text → String?
-
no setterinherited
- textElement → Element?
-
no setterinherited
- type → AddressType?
-
no setterinherited
- typeElement → Element?
-
no setterinherited
- use → AddressUse?
-
no setterinherited
- useElement → 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
-
updateCity(
String city) → Address -
updateCountry(
String country) → Address -
updateDistrict(
String district) → Address -
updateLine(
List< String> line) → Address -
updatePeriod(
Period period) → Address -
updatePostalCode(
String postalCode) → Address -
updateState(
String state) → Address -
updateText(
String text) → Address -
updateType(
AddressType type) → Address -
updateUse(
AddressUse use) → Address - Because this is a common class that's updated
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited