Initializer

init(_:)

Creates an environment property to read the specified key path.

Declaration

init(_ keyPath: KeyPath<EnvironmentValues, Value>)