Companion

object Companion

Functions

convert
Link copied to clipboard
fun convert(metricType: Metrics): Metric

Converts enum value to sub-class of Metric.

convertBack
Link copied to clipboard
fun convertBack(metric: Metric): Metrics

Converts sub-class of Metric to enum value.