from static method
Implementation
static ContentTypeHeader from(MediaType mediaType,
{String? charset, String? boundary, bool? isFlowedFormat}) {
final type = ContentTypeHeader(mediaType.text);
type.charset = charset;
type.boundary = boundary;
type.isFlowedFormat = isFlowedFormat;
return type;
}