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