fromName

fun fromName(serialName: String): TaskState

Find the enum member by the serial name or throw.