ShareAllPatientDataOptionsResult.fromJSON constructor

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

Implementation

factory ShareAllPatientDataOptionsResult.fromJSON(Map<String, dynamic> data) {
	return ShareAllPatientDataOptionsResult(
		EncryptedPatient.fromJSON(data["patient"]),
		(data["statuses"] as Map<String, dynamic>).map((k0, v0) => MapEntry(ShareAllPatientDataOptionsShareableEntity.fromJSON(k0), ShareAllPatientDataOptionsEntityResult.fromJSON(v0)))
	);
}