Companion

object Companion

Functions

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

Converts enum value to subclass of Metric.

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

Converts subclass of Metric to enum value.