ClassificationShareOptions.fromJSON constructor

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

Implementation

factory ClassificationShareOptions.fromJSON(Map<String, dynamic> data) {
	return ClassificationShareOptions(
		requestedPermissions: RequestedPermission.fromJSON(data["requestedPermissions"]),
		shareEncryptionKey: ShareMetadataBehaviour.fromJSON(data["shareEncryptionKey"]),
		sharePatientId: ShareMetadataBehaviour.fromJSON(data["sharePatientId"]),
		shareSecretIds: SecretIdShareOptions.fromJSON(data["shareSecretIds"])
	);
}