take Nested Snapshot
abstract fun takeNestedSnapshot(readObserver: SnapshotReadObserver? = null): Snapshot
Content copied to clipboard
Take a snapshot of the state values in this snapshot. The resulting Snapshot is read-only. All nested snapshots need to be disposed by calling dispose before resources associated with this snapshot can be collected. Nested snapshots are still valid after the parent has been disposed.