contentType property

String? contentType

The content type header value of the request.

Implementation

String? get contentType => headers['Content-Type'];
void contentType=(String? value)

Implementation

set contentType(String? value) {
  if (value != null) {
    headers['Content-Type'] = value;
  }
}