check static method
Implementation
static void check(String bucket) {
if (isValidBucketName(bucket)) return;
throw MinioInvalidBucketNameError('Invalid bucket name: $bucket');
}
static void check(String bucket) {
if (isValidBucketName(bucket)) return;
throw MinioInvalidBucketNameError('Invalid bucket name: $bucket');
}