SetDimension.fromJson constructor

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

Implementation

factory SetDimension.fromJson(Map<String, dynamic> json) {
  return SetDimension(
    values: (json['Values'] as List)
        .whereNotNull()
        .map((e) => e as String)
        .toList(),
    dimensionType: (json['DimensionType'] as String?)?.toDimensionType(),
  );
}