environment
Environment data that describes the current state of the system.
Declaration
@MainActor @preconcurrency var environment: EnvironmentValues { get }Discussion
Use the environment values to configure the state of your view controller when creating or updating it.