getOrCreateFrontend

fun getOrCreateFrontend(menuItemId: MenuItem.Id): Frontend?

Gets the Frontend associates with the given menuItemId, creating the Frontend if it wasn't yet.

If there is no Frontend associated with the menuItemId, this returns null.