AttributeDimension.fromJson constructor

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

Implementation

factory AttributeDimension.fromJson(Map<String, dynamic> json) {
  return AttributeDimension(
    values: (json['Values'] as List)
        .whereNotNull()
        .map((e) => e as String)
        .toList(),
    attributeType: (json['AttributeType'] as String?)?.toAttributeType(),
  );
}