toComposableFactory
fun <ScreenT : Screen> ScreenT.toComposableFactory(environment: ViewEnvironment): ScreenComposableFactory<ScreenT>
It is rare to call this method directly. Instead the most common path is to pass Screen instances to WorkflowRendering, which will apply the ScreenComposableFactory and ScreenComposableFactoryFinder machinery for you.