setContentType method
set Content-Type
Implementation
void setContentType(String type) {
if (type == null) {
throw MinioError('content-type cannot be null');
}
policy['conditions'].push(['eq', r'$Content-Type', type]);
formData['Content-Type'] = type;
}