EnvironmentKey

public protocol EnvironmentKey

A key with an associated value type.

  • Declaration

    Swift

    associatedtype Value
  • Declaration

    Swift

    static var defaultValue: Value { get }