Instance Method
mapValues(_:)
Returns a variant collection containing the results of calling the given transformation with each value of this variant collection.
func mapValues<TransformedValue>(_ transform: (Value) -> TransformedValue) -> VariantCollection<TransformedValue> where TransformedValue : Decodable, TransformedValue : Encodable