setBucket method

void setBucket(
  1. dynamic bucket
)

set bucket name

Implementation

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