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,
      );