of

fun of(key: Key): TooltipStyle

Creates a new TooltipStyle with the specified Key, assuming that a tooltip style under that id already exists.