Property Wrappers

  • A property wrapper to use on properties that should be encoded with a null value (instead of being omitted).

    See more

    Declaration

    Swift

    @propertyWrapper
    public struct NullCodable<Value> : Codable, Sendable where Value : Decodable, Value : Encodable, Value : Sendable
    extension NullCodable: Equatable where Value: Equatable