fromNameOrNull

fun fromNameOrNull(serialName: String): TaskState?

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