• Returns a dimension from the cache or gets it from the API and caches it.

    Parameters

    • name: string

      The name of the dimension.

    Returns Dimension

    The dimension.