InsurabilityDto class

Constructors

InsurabilityDto({Map<String, String> parameters = const {}, bool? hospitalisation, bool? ambulatory, bool? dental, String? identificationNumber, String? insuranceId, int? startDate, int? endDate, String? titularyId, String? encryptedSelf})
Returns a new InsurabilityDto instance.

Properties

ambulatory bool?
Is outpatient care covered.
getter/setter pair
dental bool?
Is dental care covered.
getter/setter pair
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
endDate int?
End date of the coverage (YYYYMMDD).
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
hospitalisation bool?
Is hospitalization covered.
getter/setter pair
identificationNumber String?
Identification number of the patient at the insurance.
getter/setter pair
insuranceId String?
Id of the Insurance.
getter/setter pair
parameters Map<String, String>
Insurance extra parameters.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startDate int?
Start date of the coverage (YYYYMMDD).
getter/setter pair
titularyId String?
UUID of the contact person who is the policyholder of the insurance (when the patient is covered by the insurance of a third person).
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) InsurabilityDto?
Returns a new InsurabilityDto instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<InsurabilityDto>?
mapFromJson(dynamic json) Map<String, InsurabilityDto>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<InsurabilityDto>>

Constants

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