contentType property

ContentTypeHeader? get contentType

Implementation

ContentTypeHeader? get contentType {
  var value = _contentType;
  if (value == null) {
    final headerText = _getHeaderValue('content-type');
    if (headerText != null) {
      value = ContentTypeHeader(headerText);
    }
  }
  return value;
}