setBucket method

void setBucket(
  1. String bucket
)

set bucket name

Implementation

void setBucket(String bucket) {
  MinioInvalidBucketNameError.check(bucket);
  policy['conditions'].push(['eq', r'$bucket', bucket]);
  formData['bucket'] = bucket;
}