fromFileExtension

fun ContentType.Companion.fromFileExtension(
    ext: String
): List<ContentType>

Recommended content type by file name extension