DecryptedInsurability.fromJSON constructor
DecryptedInsurability.fromJSON(
- Map<String, dynamic> data
)
Implementation
factory DecryptedInsurability.fromJSON(Map<String, dynamic> data) {
return DecryptedInsurability(
parameters: (data["parameters"] as Map<String, dynamic>).map((k0, v0) => MapEntry((k0 as String), (v0 as String))),
hospitalisation: (data["hospitalisation"] as bool?),
ambulatory: (data["ambulatory"] as bool?),
dental: (data["dental"] as bool?),
identificationNumber: (data["identificationNumber"] as String?),
insuranceId: (data["insuranceId"] as String?),
startDate: (data["startDate"] as int?),
endDate: (data["endDate"] as int?),
titularyId: (data["titularyId"] as String?),
encryptedSelf: (data["encryptedSelf"] as Base64String?)
);
}