fromString static method
- String mimeType
Create a MimeType from its string representation. Returns MimeType.unsupported if the provided string is not supported
Implementation
static MimeType fromString(String mimeType) => _map[mimeType] ?? MimeType.unsupported(mimeType);