of static method
Implementation
static ContentType of(final String value) {
final mimeType = value.split(';').first;
return _kValueForContentType[mimeType] ?? _kDefaultContentTypeEntry.key;
}
static ContentType of(final String value) {
final mimeType = value.split(';').first;
return _kValueForContentType[mimeType] ?? _kDefaultContentTypeEntry.key;
}