DocumentShareOptions constructor

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

Implementation

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