removeObject method
Remove the specified object.
Implementation
Future<void> removeObject(String bucket, String object) async {
MinioInvalidBucketNameError.check(bucket);
MinioInvalidObjectNameError.check(object);
final resp = await _client.request(
method: 'DELETE',
bucket: bucket,
object: object,
);
validate(resp, expect: 204);
}