I'm 99% sure you don't need the $ character with @StateObject and @ObservedObject. If you do need it, Xcode will show an error when you build the project.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: