Contents

environment

The current environment.

Declaration

@MainActor @preconcurrency var environment: EnvironmentValues { get }

Discussion

Use the environment values to configure the state of your interface object when creating or updating it.