Where is source code for code-fragments used in WWDC videos

WWDC videos are good. But there is contextual information that is sometimes left out . If one wants to try and build the code fragment being explained in the video, where to take it from. This is esp imp for concurrency and SwiftUI videos.

For instance: https://developer.apple.com/videos/play/wwdc2021/10022/, Time:6:50. .dogTagID is not used in the code fragment and is the basis of whole explanation there. It appears that dogTagID is a field that is part of rescueDogs structure - when this assumption starts coming in, it gets difficult to comprehend the details concretely.

This is the case with many wwdc videos.

Probably there is a code that already exist somewhere in repository. It is not mentioned the video.

Thanks for looking into it.

Where is source code for code-fragments used in WWDC videos
 
 
Q