ObjectCopyGrant constructor
const
ObjectCopyGrant({})
Creates a new ObjectCopyGrant.
email Email address of the grantee. Used only when type is AmazonCustomerByEmail.
id Canonical user ID of the grantee. Used only when type is CanonicalUser.
permissions List of permissions to grant to grantee. Valid values are READ, READ_ACP, WRITE_ACP, FULL_CONTROL.
type Type of grantee. Valid values are CanonicalUser, Group, and AmazonCustomerByEmail.
uri URI of the grantee group. Used only when type is Group.
Implementation
const ObjectCopyGrant({
this.email,
this.id,
required this.permissions,
required this.type,
this.uri,
});