check static method

void check(
  1. String object
)

Implementation

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