Instance Property
variants
The variants associated with the resource.
var variants: [DataTraitCollection : URL]
Discussion
An asset can have multiple variants which you can use in different environments. For example, an image asset can have distinct light and dark variants, so a renderer can select the appropriate variant depending on the system’s appearance.