PatientHealthCarePartyDto class

Constructors

PatientHealthCarePartyDto({PatientHealthCarePartyDtoTypeEnum? type, String? healthcarePartyId, Map<String, String> sendFormats = const {}, Set<ReferralPeriodDto> referralPeriods = const {}, bool referral = false, String? encryptedSelf})
Returns a new PatientHealthCarePartyDto instance.

Properties

encryptedSelf String?
The base64 encoded data of this object, formatted as JSON and encrypted in AES using the random master key from encryptionKeys.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
healthcarePartyId String?
UUID of the hcp.
getter/setter pair
referral bool
getter/setter pair
referralPeriods Set<ReferralPeriodDto>
Time periods
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendFormats Map<String, String>
Preferred format of exchange for diverse means of communication
getter/setter pair
type PatientHealthCarePartyDtoTypeEnum?
Type of care/relationship.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromJson(dynamic value) PatientHealthCarePartyDto?
Returns a new PatientHealthCarePartyDto instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<PatientHealthCarePartyDto>?
mapFromJson(dynamic json) Map<String, PatientHealthCarePartyDto>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<PatientHealthCarePartyDto>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.