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