get

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 }