EnhancedMetrics.fromJson constructor
Implementation
factory EnhancedMetrics.fromJson(Map<String, dynamic> json) {
return EnhancedMetrics(
shardLevelMetrics: (json['ShardLevelMetrics'] as List?)
?.whereNotNull()
.map((e) => (e as String).toMetricsName())
.toList(),
);
}