toHeaderValue method

String toHeaderValue()

Returns the value to use for the Content-Type header.

Implementation

String toHeaderValue() => '$primaryType/$subType';