MetricTarget.fromJson constructor

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

Creates a MetricTarget from JSON data.

Implementation

MetricTarget.fromJson(Map<String, dynamic> json)
    : this(
        averageUtilization: json['averageUtilization'],
        averageValue: json['averageValue'],
        type: json['type'],
        value: json['value'],
      );