Instance Methodswift 6.0.3Swift

encodeIfPresent(_:forKey:)

mutating func encodeIfPresent<T>(_ value: T?, forKey key: KeyedEncodingContainer<K>.Key) throws where T : Encodable