check static method
Implementation
static void check(String object) {
if (isValidObjectName(object)) return;
throw MinioInvalidObjectNameError('Invalid object name: $object');
}
static void check(String object) {
if (isValidObjectName(object)) return;
throw MinioInvalidObjectNameError('Invalid object name: $object');
}