MetricDimension.fromJson constructor

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

Implementation

factory MetricDimension.fromJson(Map<String, dynamic> json) {
  return MetricDimension(
    comparisonOperator: json['ComparisonOperator'] as String,
    value: json['Value'] as double,
  );
}