Question about LayerMap.get and handling missing keys

Why doesn’t LayerMap.get return an option of a service? Maybe I’m misunderstanding the intention, but if the keys are dynamic (from config), I presume it could fail to find a key.
Was this page helpful?