asMetricDefinition

Casts this ItemValue as a MetricDefinition and retrieves its kotlin.String value. Throws an exception if the ItemValue is not a MetricDefinition.