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