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