I am using @EnvironmentObject in my SwiftUI project, I need to get access to the var of @EnvironmentObjectt in an another class outside of a view, how can I do this?