setBucket method
void
setBucket(
- dynamic bucket
set bucket name
Implementation
void setBucket(bucket) {
MinioInvalidBucketNameError.check(bucket);
policy['conditions'].push(['eq', r'$bucket', bucket]);
formData['bucket'] = bucket;
}