DimensionValuesWithAttributes.fromJson constructor

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

Implementation

factory DimensionValuesWithAttributes.fromJson(Map<String, dynamic> json) {
  return DimensionValuesWithAttributes(
    attributes: (json['Attributes'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
    value: json['Value'] as String?,
  );
}