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