setKey method

void setKey(
  1. String object
)

set object name

Implementation

void setKey(String object) {
  MinioInvalidObjectNameError.check(object);
  policy['conditions'].add(['eq', r'$key', object]);
  formData['key'] = object;
}