Instance Method (Default implementation)swift 6.0.3Swift

decodeIfPresent(_:forKey:)

func decodeIfPresent<T>(_ type: T.Type, forKey key: Self.Key) throws -> T? where T : Decodable