Metric.fromJson constructor

Metric.fromJson(
  1. Map json_
)

Implementation

Metric.fromJson(core.Map json_)
    : this(
        metricOverrides: json_.containsKey('metricOverrides')
            ? (json_['metricOverrides'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        metricSource: json_.containsKey('metricSource')
            ? json_['metricSource'] as core.String
            : null,
      );