workflow-runtime
/
com.squareup.workflow1
/
TreeSnapshot
/
Companion
/
forRootOnly
for
Root
Only
fun
forRootOnly
(rootSnapshot:
Snapshot
?):
TreeSnapshot
Content copied to clipboard
Returns a
TreeSnapshot
that only contains a
Snapshot
for the root workflow, and no child snapshots.