check static method

void check(
  1. String bucket
)

Implementation

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