DimensionKeyDescription.fromJson constructor
Implementation
factory DimensionKeyDescription.fromJson(Map<String, dynamic> json) {
return DimensionKeyDescription(
dimensions: (json['Dimensions'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
partitions: (json['Partitions'] as List?)
?.whereNotNull()
.map((e) => e as double)
.toList(),
total: json['Total'] as double?,
);
}