toggle menu
workflow
common
switch theme
search in API
workflow-runtime
/
com.squareup.workflow1
/
TreeSnapshot
/
Companion
/
forRootOnly
for
Root
Only
fun
forRootOnly
(
rootSnapshot
:
Snapshot
?
)
:
TreeSnapshot
(
source
)
Returns a
TreeSnapshot
that only contains a
Snapshot
for the root workflow, and no child snapshots.