MetricCompatibility.fromJson constructor

MetricCompatibility.fromJson(
  1. Map json_
)

Implementation

MetricCompatibility.fromJson(core.Map json_)
    : this(
        compatibility: json_.containsKey('compatibility')
            ? json_['compatibility'] as core.String
            : null,
        metricMetadata: json_.containsKey('metricMetadata')
            ? MetricMetadata.fromJson(json_['metricMetadata']
                as core.Map<core.String, core.dynamic>)
            : null,
      );