EncryptedValorisation.fromJSON constructor

EncryptedValorisation.fromJSON(
  1. Map<String, dynamic> data
)

Implementation

factory EncryptedValorisation.fromJSON(Map<String, dynamic> data) {
	return EncryptedValorisation(
		startOfValidity: (data["startOfValidity"] as int?),
		endOfValidity: (data["endOfValidity"] as int?),
		predicate: (data["predicate"] as String?),
		reference: (data["reference"] as List<dynamic>?)?.map((x0) => (x0 as int) ).toList(),
		totalAmount: (data["totalAmount"] as num?)?.toDouble(),
		reimbursement: (data["reimbursement"] as num?)?.toDouble(),
		patientIntervention: (data["patientIntervention"] as num?)?.toDouble(),
		doctorSupplement: (data["doctorSupplement"] as num?)?.toDouble(),
		vat: (data["vat"] as num?)?.toDouble(),
		label: (data["label"] as Map<String, dynamic>?)?.map((k0, v0) => MapEntry((k0 as String), (v0 as String))),
		encryptedSelf: (data["encryptedSelf"] as Base64String?)
	);
}