infix fun <T : Class<out Any>> T.from(session: FlowSession): <ERROR CLASS><FlowSession, T>
Creates a [Pair(session, Class)] from this Class.