Does the KeyValuePairs struct have a similar property to what 'default' does in an enum, i.e. a catch-all value in case a given key is not found? Or is there a way to recreate the same effect without built in functionality?
I need this to work with some data I'm fetching from an API (and I think I have to rely on KeyValuePairs as this is what Swift's new charts library uses for custom colouring of charts).