contentType property
String?
contentType
The content type header value of the request.
Implementation
String? get contentType => headers['Content-Type'];
Implementation
set contentType(String? value) {
if (value != null) {
headers['Content-Type'] = value;
}
}