Instance Method (Default implementation)swift 6.0.3Swift

encodeIfPresent(_:forKey:)

mutating func encodeIfPresent(_ value: Float?, forKey key: Self.Key) throws