Function defaultIconName
Default icon for MIME type.
string defaultIconName
(
scope string mimeType
) pure nothrow @safe;
Returns
mimeType with '/' replaces with '-' or null if mimeType is not valid MIME type name.
Example
assert(defaultIconName("text/plain") == "text-plain");
assert(defaultIconName("not mime type") == string .init);