fromNameOrNull

fun fromNameOrNull(serialName: String): CodecType?

Find the enum member by the serial name or return null.