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 where Value : Decodable, Value : Encodable
    extension NullCodable: Equatable where Value: Equatable