fromName

fun fromName(serialName: String): RepeatMode

Find the enum member by the serial name or throw.