FormShareOptions.fromJSON constructor

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

Implementation

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