get
operator fun <SF : Enum<SF>, IviThemeCategoryStylingFlavor> Collection<IviThemeComponent.WithStylingFlavorType<SF>>.get(stylingFlavor: SF): IviThemeComponent.WithStylingFlavorType<SF>
Returns an IviThemeComponent from the collection that has IviThemeComponent.WithStylingFlavorType.stylingFlavor set to the given stylingFlavor.
Throws if no matching component is found.
Short-hand for:
collection.first { it.stylingFlavor == stylingFlavor }
Content copied to clipboard