ExternalMetricStatus.fromJson constructor

ExternalMetricStatus.fromJson(
  1. Map<String, dynamic> json
)

Creates a ExternalMetricStatus from JSON data.

Implementation

ExternalMetricStatus.fromJson(Map<String, dynamic> json)
    : this(
        current: MetricValueStatus.fromJson(json['current']),
        metric: MetricIdentifier.fromJson(json['metric']),
      );