I have read SwiftUI EnvironmentObject not available in View initializer? which says that environmentObject is not available for use in init()
init()
That being said