TopicShareOptions constructor

TopicShareOptions({
  1. RequestedPermission? requestedPermissions,
  2. ShareMetadataBehaviour? shareEncryptionKey,
  3. ShareMetadataBehaviour? sharePatientId,
  4. SecretIdShareOptions? shareSecretIds,
})

Implementation

TopicShareOptions({
		RequestedPermission? requestedPermissions,
		ShareMetadataBehaviour? shareEncryptionKey,
		ShareMetadataBehaviour? sharePatientId,
		SecretIdShareOptions? shareSecretIds
	}) : requestedPermissions = requestedPermissions ?? RequestedPermission.maxWrite,
	shareEncryptionKey = shareEncryptionKey ?? ShareMetadataBehaviour.ifAvailable,
	sharePatientId = sharePatientId ?? ShareMetadataBehaviour.ifAvailable,
	shareSecretIds = shareSecretIds ?? SecretIdShareOptionsAllAvailable(false);