contentType property

ContentTypeHeader? get contentType

The content type of this mime data

Implementation

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

  return value;
}