Contents

init(wrappedValue:from:)

Creates a codable configuration wrapper for the given value, using the given configuration provider type.

Declaration

init(wrappedValue: T, from configurationProvider: ConfigurationProvider.Type)

Parameters

  • wrappedValue:

    The underlying value to make codable, using data from the configuration provider.

  • configurationProvider:

    The type of the configuration provider, which provides additional information to encode wrappedValue.

See Also

Creating a Codable Configuration