parseContentType function

  1. @Deprecated('Use ContentType.parse instead')
ContentType parseContentType(
  1. String value
)

Returns an instance of ContentType of the given mime type, such as text/html; charset=utf-8.

Deprecated: use ContentType.parse directly.

Implementation

@Deprecated('Use ContentType.parse instead')
ContentType parseContentType(String value) => ContentType.parse(value);